I had a program that worked fine in Xcode 3 but when I imported the project in Xcode 4 I’m getting a lot of issues, I would like to know what causes this & how to fix it.


First one shows errors when code is copied into Xcode manually & the second one shows errors when project that was built & run successfully into Xcode 3 built into Xcode 4
Solved: I was trying to import the Foundation framework into a C project *facepalm
Thx for all the feedback & help