• 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: Any supported way to build a static lib with both ARM and x86 (simulator) binaries?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any supported way to build a static lib with both ARM and x86 (simulator) binaries?


  • Subject: Re: Any supported way to build a static lib with both ARM and x86 (simulator) binaries?
  • From: Dave Camp <email@hidden>
  • Date: Wed, 16 Jul 2014 17:59:40 -0700

On Jul 16, 2014, at 4:35 PM, Jens Alfke <email@hidden> wrote:


On Jul 16, 2014, at 2:18 PM, Nick Blievers <email@hidden> wrote:

I use a post build step on my CI that runs lipo to join the simulator (i386/x86_64) and device (armv7/armv7s/arm64) objects, which is effectively your #2.

How do you get both of those libraries to build, though? As I said, it seems you have to either switch the scheme destination in the GUI or invoke xcodebuild.

I use an Aggregate target with a Run Script phase that executes two xcodebuild commands (one for sim, one for device) and then lipo them together. Build that to generate the final shippable framework/library.

Dave



 _______________________________________________
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

  • Follow-Ups:
    • Re: Any supported way to build a static lib with both ARM and x86 (simulator) binaries?
      • From: Nick Blievers <email@hidden>
References: 
 >Any supported way to build a static lib with both ARM and x86 (simulator) binaries? (From: Jens Alfke <email@hidden>)
 >Re: Any supported way to build a static lib with both ARM and x86 (simulator) binaries? (From: Nick Blievers <email@hidden>)
 >Re: Any supported way to build a static lib with both ARM and x86 (simulator) binaries? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Any supported way to build a static lib with both ARM and x86 (simulator) binaries?
  • Next by Date: Re: Any supported way to build a static lib with both ARM and x86 (simulator) binaries?
  • Previous by thread: Re: Any supported way to build a static lib with both ARM and x86 (simulator) binaries?
  • Next by thread: Re: Any supported way to build a static lib with both ARM and x86 (simulator) binaries?
  • Index(es):
    • Date
    • Thread