Samantha Catania
Samantha Catania

Reputation: 5316

XCode 4 Compiling Issues

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. Errors when code is copied into Xcode manually

Errors when project that was built & run successfully into Xcode 3 built into Xcode 4

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

Upvotes: 0

Views: 341

Answers (2)

Samantha Catania
Samantha Catania

Reputation: 5316

Solved: I was trying to import the Foundation framework into a C project *facepalm Thx for all the feedback & help

Upvotes: 0

By the looks of it you are either not importing a header or linking against a framework. The errors are basically stating that the compiler cannot find the symbols you need. Check at the top of your file and see if you're importing the correct header. If you are and an error is being shown there then it is probably a linking issue, so check your project settings.

Upvotes: 1

Related Questions