Re: Errors when using Release configuration
Re: Errors when using Release configuration
- Subject: Re: Errors when using Release configuration
- From: Chris Espinosa <email@hidden>
- Date: Wed, 25 Jan 2006 10:36:20 -0800
On Jan 25, 2006, at 10:22 AM, Ben Kazez wrote: I have a project that uses MacOSX10.4u.sdk as the target SDK in General tab of project info. The targets of the project build fine when I use my Debug configuration, but I get thousands of errors when I use the Release configuration. Every error is at an Objective-C-only token, so it seems it's not interpreting the SDK as Objective-C. I compared my Release build settings to Debug and didn't see anything different. Any idea what I am missing?
Ben
P.S. Errors look like this:
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12, from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10: /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:60: error: parse error before '@' token
We'd need to see the compiler invocation line for the source file that's including that header. In fact, if you have a working Debug build and a broken Release build, comparing the compiler invocations for the two side-by-side would almost certainly reveal the problem.
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden