XCode compiling c/cpp

Member
Posts: 86
Joined: 2008.04
Post: #1
I have a cocoa project that uses c/c++ and works great. This is the level designer.

I added a new application target - this one will be the actual app.
Everything compiles fine until I add c or cpp files to the target.

Then I get 1900+ compilation errors in Appkit.h ...

How can I tell it it that the added files are c or cpp?

Thanks for any help
Quote this message in a reply
Member
Posts: 86
Joined: 2008.04
Post: #2
Looks like the prefix header was set to /Frameworks/AppKit.framework/Headers/AppKit.h

on the broken target.

Fixed it and now it works... :-)
Quote this message in a reply
Post Reply