Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

thekrazykid

macrumors newbie
Original poster
Dec 28, 2008
7
0
ok so im completely new at objective-c and cocoa (i know python and some java) and have never used xcode before. I am reading a tutorial and i just created a blank cocoa application. However when i try to compile it i get 10 errors.. all saying things like "error: CFNetwork/CFNetworkErrors.h: No such file or directory" im guessing this is a cocoa framework in which case it makes no sence that i would get this error.. any help would be appreciated. Thanks
 

thekrazykid

macrumors newbie
Original poster
Dec 28, 2008
7
0
yea i hit File> New Project filled in a name and hit the build and go button and got 10 errors
 

thekrazykid

macrumors newbie
Original poster
Dec 28, 2008
7
0
what else do u need to know? i compiled a blank file and got 10 errors all in the form error: CFNetwork/CFNetworkErrors.h: No such file or directory except the CFNetwork/CFNetworkErrors.h switches.. the debugger pops up underneath the line #import <Cocoa/Cocoa.h> so im guessing that for some reason it cant import the cocoa libraries which doesnt make any sence
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Without knowing further info, like which Xcode version you're running and which OS, I'd download the latest version from connect.apple.com and reinstall.
 

thekrazykid

macrumors newbie
Original poster
Dec 28, 2008
7
0
thanks guys i uninstalled my version with the perl script and then downloaded and installed the latest version and it worked (actually installed the iphone version)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.