Discussion Forums  >  Uncategorized

Replies: 4    Views: 257

Jennyapps
I hate code!
Profile
Posts: 222
Reg: Jun 12, 2011
Tasmania, Austr...
4,870
07/04/11 09:46 PM (14 years ago)

Anyone know how to resolve and errors?

Hi I have Xcode 4.0.2 yet every time I try to build my app I get these errors. Any one point me in the right direction? Thanks
 
Jennyapps
I hate code!
Profile
Posts: 222
Reg: Jun 12, 2011
Tasmania, Austr...
4,870
like
07/04/11 09:48 PM (14 years ago)
Oh the errors are Foundation/Foundation.h and UIKit/UIKit.h errors in red. Failed. Thanks
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/05/11 01:27 AM (14 years ago)
Hmm.. not sure where you're seeing them.. But try this. In your downloaded project have a look in the Frameworks folder. This is in Xcode. Expand that folder and look at the frameworks used in the project. These are built-in iOS frameworks that come with the iOS SDK you have intalled on your machine. The idea is that the compiler references these frameworks when you click BUILD. So... maybe you don't have a few frameworks that are needed? Try command/click the frameworks folder to 'add exisitng frameworks' When the window opens, choose UIKit and Foundation frameworks and add the to your project. Does it make the errors go away? I'll bet it does.
 
Jennyapps
I hate code!
Profile
Posts: 222
Reg: Jun 12, 2011
Tasmania, Austr...
4,870
like
07/05/11 05:51 AM (14 years ago)
Im very sorry David. Where do I find the Frameworks folder in XCode 4.0.2?
 
Jennyapps
I hate code!
Profile
Posts: 222
Reg: Jun 12, 2011
Tasmania, Austr...
4,870
like
07/05/11 09:24 PM (14 years ago)
Ok, I found the frameworks folder by expanding the test app column, but if I command click the frameworks folder, nothing happens :(
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.