Re: Failed to build on iPhone OS 3.0 using xcode 3.1.4
Re: Failed to build on iPhone OS 3.0 using xcode 3.1.4
- Subject: Re: Failed to build on iPhone OS 3.0 using xcode 3.1.4
- From: Quincey Morris <email@hidden>
- Date: Thu, 18 Mar 2010 01:22:22 -0700
On Mar 18, 2010, at 00:47, Kin Mak wrote: I was trying to build my application on iPhone OS 3.0 using xcode 3.1.4. But it always fails with the following error:
In file included from /var/folders/WF/WFRnEsIuEMSWz2KBvyPgtU+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphoneos-iPhoneOS3.0-blroebzddbwtlceiuwflpucruufm/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:31, /var/folders/WF/WFRnEsIuEMSWz2KBvyPgtU+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphoneos-iPhoneOS3.0-blroebzddbwtlceiuwflpucruufm/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:13: error: syntax error before 'AT_NAME' token /var/folders/WF/WFRnEsIuEMSWz2KBvyPgtU+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphoneos-iPhoneOS3.0-blroebzddbwtlceiuwflpucruufm/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:21: error: syntax error before '}' token /var/folders/WF/WFRnEsIuEMSWz2KBvyPgtU+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphoneos-iPhoneOS3.0-blroebzddbwtlceiuwflpucruufm/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:23: fatal error: method definition not in @implementation context
I am wondering if someone encountered this same problem before. How can I resolve this issue? What do I have to do for building on an earlier version of iPhone OS?
The most likely cause is an error (it's often a missing ';' or a missing '}') in a header file of yours that's #imported *before* the file named in the error message.
|
_______________________________________________
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