Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xcodebuild, ARCHS and subprojects



I've encountered a problem attempting to use xcodebuild to create a Universal Binary. My application has a number of subprojects which build static libs which are then linked with the app code, and both app and subprojects contain 'ARCHS = $(NATIVE_ARCH) in their Xcode projects.

I invoked xcodebuild in the app project folder with the 'ARCHS ppc i386' command line flag, assuming this would be used for the subprojects too, and it is, but only partially. While my subproject source files are compiled for both architectures, the final libraries are only linked with the native architecture. This results in link errors when xcodebuild attempts to build the Universal Binary app.

Is this a bug, or have I missed a step?

Thanks,

Graham Westlake
Sibelius Software
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.