Reputation: 1921
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:
And my frameworks are:
How can I resolve this?
Upvotes: 1
Views: 87
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
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