• 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: How do I tell if a library contains bitcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I tell if a library contains bitcode?


  • Subject: Re: How do I tell if a library contains bitcode?
  • From: Jon Hjelle <email@hidden>
  • Date: Mon, 05 Oct 2015 14:32:41 -0700

My build script combines armv7 and arm64 libraries. It’s been a little while since I first did that, so I just checked my build again and I see bitcode in the resulting combined library (which I combined with `lipo -create` as well).

My script looks something like this:
find out_ios/Release-iphoneos -name '*.a' -execdir lipo -create out_ios/Release-iphoneos/{} out_ios_64/Release-iphoneos/{} -o out_ios_combined/Release-iphoneos/{} \;

The libraries that I’m building have a build script of their own and I noticed today that they use libtool to combine them (https://chromium.googlesource.com/external/webrtc/+/master/talk/build/merge_ios_libs).

I feel pretty ignorant about the details of combining libraries like this, but I wonder if libtool has some different options or perhaps just works differently and might work where lipo isn’t working for you?

Jon

On Saturday, October 3, 2015 at 6:13 PM, Jens Alfke wrote:


 _______________________________________________
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: 
 >How do I tell if a library contains bitcode? (From: Jens Alfke <email@hidden>)
 >Re: How do I tell if a library contains bitcode? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: OpenMP/clang version in Xcode?
  • Next by Date: Making two segues to the same view?
  • Previous by thread: Re: How do I tell if a library contains bitcode?
  • Next by thread: An off-topic question/post that may be worth a short read. (Sorry for the xpost)
  • Index(es):
    • Date
    • Thread