Ranjeet Sajwan
Ranjeet Sajwan

Reputation: 1921

Build error occurs after changing to SDK 4.0

I have an app code which was running successfully on iPhone SDK 3, but now I have changed to SDK 4.0 and the code gives error.

Here is the error:

enter image description here

And my frameworks are:

enter image description here

How can I resolve this?

Upvotes: 1

Views: 87

Answers (2)

Dan Ray
Dan Ray

Reputation: 21893

Something's messed up about your development environment. I'm guessing you tried to install the 4.0 api over top of the 3?

No idea really specifically whats happened, but it's lost track of where its goods are. If I were you I'd reinstall a clean copy of XCode. Make sure you copy out your project folders, then delete your current install and put in a freshly downloaded one.

Upvotes: 1

Nava Carmon
Nava Carmon

Reputation: 4533

Check that you're building the iPhone target and it includes a Foundation.framework. From error messages you can see that it cannot find cocoa objects

Upvotes: 0

Related Questions