• 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 to distribute & use a dynamic framework for iOS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to distribute & use a dynamic framework for iOS?


  • Subject: Re: How to distribute & use a dynamic framework for iOS?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 14 May 2015 13:10:20 -0700


On May 14, 2015, at 12:05 PM, Chris Hanson <email@hidden> wrote:

This is not supported; the Mach-O format doesn't have a way to distinguish between targeted platforms, so you can't mix platforms in a single file. And iOS Simulator is a separate platform from iOS (and OS X).

I understand that it isn’t supported, but as long as it works in practice, and Apple continues not to provide any better approach, I’ll keep using it. 

By “better” I mean “easier to configure, with fewer moving parts”. Your suggestion about FRAMEWORK_SEARCH_PATHS is a good one, and better than the mess I was dealing with for dynamic frameworks, but I still don’t relish having to explain this to developers. I know from experience that the more steps there are to using our library in an app, the more developers will get it wrong and come to us for help (or worse, just give up.) Ideally it should just be “download the framework and drag it into your Xcode project,” and for our cobbled-together fat static framework it’s pretty close to that easy.

—Jens
 _______________________________________________
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: How to distribute & use a dynamic framework for iOS?
      • From: Rick Mann <email@hidden>
References: 
 >How to distribute & use a dynamic framework for iOS? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to allow users of pre-built libraries step into code in the Xcode debugger?
  • Next by Date: Re: How to distribute & use a dynamic framework for iOS?
  • Previous by thread: Re: How to distribute & use a dynamic framework for iOS?
  • Next by thread: Re: How to distribute & use a dynamic framework for iOS?
  • Index(es):
    • Date
    • Thread