• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iPhone cannot compile 2.2 SDK application for 3.0 SDK
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iPhone cannot compile 2.2 SDK application for 3.0 SDK
      • From: Graham Cox <email@hidden>
  • Prev by Date: testing your app on a virtual machine?
  • Next by Date: Re: testing your app on a virtual machine?
  • Previous by thread: Re: testing your app on a virtual machine?
  • Next by thread: Re: iPhone cannot compile 2.2 SDK application for 3.0 SDK
  • Index(es):
    • Date
    • Thread