PDA

View Full Version : compilation errors for apps downloaded from apple site!




cgbhat
May 11, 2009, 08:04 AM
Hi,

I am a new to iPhone development. As a starting point I wanted to look up the applications that apple provides as a part of sample code.
When I open these projects using xcode and hit 'build and go' i get a huge number of errors like 'no such file or directory' (for some of the header files present in the iPublicUtility directory). Do I need to change any of the build settings?

I am using Xcode 3.1.2, using Simulator - 2.2.1

Thank you,
cgb



jnic
May 11, 2009, 08:27 AM
Are you extracting files from the .dmg before opening the project file? If you just mount the image and run from there, all directories will be read-only, so builds will fail.

BlackWolf
May 11, 2009, 08:38 AM
if you extracted them and still getting errors, try to reinstall xcode

cgbhat
May 12, 2009, 12:54 AM
Thank you! Its working now...