• 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
Re: xcodebuild, ARCHS and subprojects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcodebuild, ARCHS and subprojects


  • Subject: Re: xcodebuild, ARCHS and subprojects
  • From: Steve Baxter <email@hidden>
  • Date: Tue, 31 Jan 2006 13:29:43 +0000

Look at using .xcconfig files to share settings between projects - makes life a lot easier!

On 31 Jan 2006, at 13:13, Olivier Tristan wrote:

Graham Westlake wrote:

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?


Hi Graham,

I had to change all subprojects ARCH flags to ppc i386 to make it work so far.
Take some time and quite painfull if you just want to compile only both from time to time.
Hopefully DTK compiles way faster.


If there is a way to inherits those flags from main project, I'll appreciate too :)

--
Olivier Tristan
Ultimate Sound Bank

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40improvision.com


This email sent to email@hidden

Stephen Baxter Software Development Manager Improvision email@hidden +44-2476-692229


_______________________________________________ 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
References: 
 >xcodebuild, ARCHS and subprojects (From: Graham Westlake <email@hidden>)
 >Re: xcodebuild, ARCHS and subprojects (From: Olivier Tristan <email@hidden>)

  • Prev by Date: Re: xcodebuild, ARCHS and subprojects
  • Next by Date: Vague linkage and RTTI (was LINK_WITH_STANDARD_LIBRARIES = NO)
  • Previous by thread: Re: xcodebuild, ARCHS and subprojects
  • Next by thread: those installation directories again
  • Index(es):
    • Date
    • Thread