iPhone cannot compile 2.2 SDK application for 3.0 SDK
iPhone cannot compile 2.2 SDK application for 3.0 SDK
- Subject: iPhone cannot compile 2.2 SDK application for 3.0 SDK
- From: Shraddha Karwan <email@hidden>
- Date: Wed, 15 Jul 2009 14:48:26 +0530
Hi,
I have an application which builds successfully for 2.0 and 2.2 SDK but
gives me following errors for 3.0
In file included from
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:31,
error: syntax error before 'AT_NAME' token
error: syntax error before '}' token
fatal error: method definition not in @implementation context
I googled out for this problem and tried adding a Build Setting Condition
for Simulator 3.0 and Device 3.0 for Compiler Version making it GCC 4.2 for
the target build setting.
But still the error prevails. Any ideas what can be going wrong?
--
Regards,
Shraddha Karwan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden