Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 10, 2009, 11:08 AM   #1
jonah153
macrumors newbie
 
Join Date: Apr 2009
I have three errors that wont go away!--HELP! (PLEASE)

I am pretty new to developing but I do know a thing or two...but there is a problem. I downloaded the iphone sdk and started using xcode. I open a blank project (window based application) and as soon as I open it I press "Build and Go" I HAVE THREE ERRORS!!!

1. Unable to create directory /var/folders/Rj/RjhRY3mPFz0kvyqJCUd6rE+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/untitled_Prefix-dsjprbsmyrrytwddlihxssjkwmgo

2. error: couldn't create directory /var/folders/Rj/RjhRY3mPFz0kvyqJCUd6rE+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/untitled_Prefix-dsjprbsmyrrytwddlihxssjkwmgo: Permission denied

3. /Users/Jonah/Desktop/untitled/untitled_Prefix.pch:1: fatal error: can't create precompiled header /var/folders/Rj/RjhRY3mPFz0kvyqJCUd6rE+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/untitled_Prefix-dsjprbsmyrrytwddlihxssjkwmgo/untitled_Prefix.pch.gch: Permission denied



THE weirdest part is that when I go to untitled_Prefix.pch and get info and click "make file localizable" the third error goes away. Thank you so much to anyone that can help!
jonah153 is offline   0 Reply With Quote
Old Apr 10, 2009, 11:56 AM   #2
KoolStar
macrumors Demi-God
 
KoolStar's Avatar
 
Join Date: Oct 2006
Location: Kentucky
Send a message via AIM to KoolStar Send a message via Skype™ to KoolStar
It sounds like it could be a bad install of the sdk. Have you tried reinstalling it?
__________________
"Innovation distinguishes between a leader and a follower." : S.J.
KoolStar is offline   0 Reply With Quote
Old Apr 10, 2009, 02:12 PM   #3
jonah153
Thread Starter
macrumors newbie
 
Join Date: Apr 2009
Quote:
Originally Posted by KoolStar View Post
It sounds like it could be a bad install of the sdk. Have you tried reinstalling it?
I had the dmg file saved and tried reinstalling that way but it did the same thing. Should I download it again?
jonah153 is offline   0 Reply With Quote
Old Apr 10, 2009, 10:30 PM   #4
jonah153
Thread Starter
macrumors newbie
 
Join Date: Apr 2009
Please someone help!

Ok, I tried re-downloading and re-installing xcode and everything on the iphone sdk and STILL don't know whats wrong! Please help me!
jonah153 is offline   0 Reply With Quote
Old Apr 11, 2009, 04:47 AM   #5
mccannmarc
macrumors 6502
 
Join Date: Aug 2008
Location: Manchester, UK
Send a message via MSN to mccannmarc
If that doesn't work try downloading Onyx and do a repair permissions on disk
__________________
DudeWare site:- http://www.dude-ware.co.uk DudeWare forum:- http://www.forum.dude-ware.co.uk
mccannmarc is offline   0 Reply With Quote
Old Apr 11, 2009, 09:46 AM   #6
jonah153
Thread Starter
macrumors newbie
 
Join Date: Apr 2009
how to use onyx?

Quote:
Originally Posted by mccannmarc View Post
If that doesn't work try downloading Onyx and do a repair permissions on disk
how do i do that? I have onyx but I dont know what to do on it...please help! thanks so much
jonah153 is offline   0 Reply With Quote
Old Apr 11, 2009, 10:20 AM   #7
jonah153
Thread Starter
macrumors newbie
 
Join Date: Apr 2009
Quote:
Originally Posted by mccannmarc View Post
If that doesn't work try downloading Onyx and do a repair permissions on disk
i did the onyx thing and it didn't work. same thee errors. PLEASE SOMEONE HELP!!!!

BUT....here is what onyx told me after i did the maitnence...

Started verify/repair permissions on disk disk0s2 Macintosh HD
User differs on "System/Library/CoreServices/DefaultDesktop.jpg", should be 0, user is 502
Group differs on "System/Library/CoreServices/DefaultDesktop.jpg", should be 0, group is 20
Permissions differ on "private/var/log/secure.log", should be -rw------- , they are -rw-r-----
ACL found but not expected on "private/var/root/Library/Preferences"
ACL found but not expected on "private/var/root/Library"
ACL found but not expected on "private/var/root"
Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/lanArrow.png", should be -rwxrwxr-x , they are -rw-rw-r--
Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/lanCheck.png", should be -rwxrwxr-x , they are -rw-rw-r--
Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/lanDisabled.png", should be -rwxrwxr-x , they are -rw-rw-r--
Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/wanArrow.png", should be -rwxrwxr-x , they are -rw-rw-r--
Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/wanCheck.png", should be -rwxrwxr-x , they are -rw-rw-r--
Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/wanDisabled.png", should be -rwxrwxr-x , they are -rw-rw-r--
Permissions differ on "Library/Application Support/Apple/ParentalControls/ALRHelperJobs", should be drwxrwxr-x , they are drwxr-xr-x
Permissions differ on "Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/English.lproj/Localized.rsrc", should be -rw-rw-r-- , they are -rw-r--r--
Permissions differ on "Library/Internet Plug-Ins/flashplayer.xpt", should be -rw-rw-r-- , they are -rw-r--r--
Permissions differ on "System/Library/User Template/English.lproj/Library/Preferences", should be drwx------ , they are drwx---rwx
Permissions differ on "System/Library/User Template/English.lproj/Library", should be drwx------ , they are drwx---rwx
Permissions differ on "Library/Internet Plug-Ins/Flash Player.plugin/Contents/Info.plist", should be -rw-rw-r-- , they are -rw-r--r--
Permissions differ on "Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player", should be -rwxrwxr-x , they are -rwxr-xr-x
Permissions differ on "Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/Flash Player.rsrc", should be -rw-rw-r-- , they are -rw-r--r--
Permissions differ on "private/var/spool/cups/cache/rss", should be drwxr-xr-x , they are drwxrwxr-x
Permissions differ on "Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/ko.lproj/Localized.rsrc", should be -rw-rw-r-- , they are -rw-r--r--
Permissions differ on "Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/zh_CN.lproj/Localized.rsrc", should be -rw-rw-r-- , they are -rw-r--r--
Permissions differ on "Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/zh_TW.lproj/Localized.rsrc", should be -rw-rw-r-- , they are -rw-r--r--
ACL found but not expected on "Applications"
ACL found but not expected on "Library"
Permissions differ on ".", should be drwxrwxr-t , they are drwxrwxrwx

Finished verify/repair permissions on disk disk0s2 Macintosh HD

Last edited by jonah153; Apr 11, 2009 at 10:21 AM. Reason: adding information
jonah153 is offline   0 Reply With Quote
Old Apr 11, 2009, 12:29 PM   #8
macfanboy
macrumors 6502a
 
Join Date: Jun 2007
try reinstalling at a different directory
macfanboy is offline   0 Reply With Quote
Old Apr 12, 2009, 12:17 PM   #9
jonah153
Thread Starter
macrumors newbie
 
Join Date: Apr 2009
Fixed!

Just in case anyone is wondering...I found a solution to the problem. I looked at the errors and they all had to do with some folder in var/folders/.....etc...well anyways, i showed all hidden files on my computer, went to that folder that it was talking about and set it so everyone on the computer has permission to read&write. then i clicked "build and go" and everything was GREAT!!!! thanks for anyone that helped....
jonah153 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
PLease, Please HELP! I Have an error that I cannot Fix!!! Patoma16 iPhone/iPad Programming 5 Feb 16, 2011 09:03 PM
Black Bar that describes what I'm doing and wont go away josephine123 OS X 4 Sep 15, 2010 05:16 AM
Mysterious trash file that wont go away... VTECaddict Mac Basics and Help 1 Nov 15, 2008 05:35 PM
Random file that wont go away insomniac321123 Mac Basics and Help 3 Jul 10, 2008 09:32 PM
Norton IS the virii.. it wont go away! e˛Studios Mac Applications and Mac App Store 2 Apr 14, 2005 10:31 PM


All times are GMT -5. The time now is 10:58 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC