• 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: Migrating shared library plugins to Cocoa Touch Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Migrating shared library plugins to Cocoa Touch Frameworks


  • Subject: Re: Migrating shared library plugins to Cocoa Touch Frameworks
  • From: Andreas Falkenhahn <email@hidden>
  • Date: Fri, 02 Dec 2016 15:37:58 +0100

On 02.12.2016 at 07:57 Pascal Bourguignon wrote:

> Yes, dlopen is supported in iOS 8 and following.

Is this support official or does it just work by chance and might stop working in the
future? I've tried to find an official word from Apple concerning dlopen() on iOS
but I haven't been successful so far. Is there one?

> But of course, you can only open and link with libraries that have been code signed properly.
> We use dlopen to load at run-time frameworks properly code signed
> and included in the application bundle

So how does that work in practice? Should I create a Cocoa Touch Framework, code sign
it, include it in the "Embedded binaries" section in Xcode in my project and select
"Optional" for that framework in the "Linked frameworks and Libraries" section in
Xcode and then just use dlopen() on the framework's executable as listed in the
frameworks Info.plist?

I can imagine that this works but once again the question is whether or not
Apple officially supports directly dlopen()ing a framework executable? If they
do, that would be great but if this is something that just happens to work right
now but might not do so in future versions I'd rather do it in a more conventional
way.

--
Best regards,
 Andreas Falkenhahn                            mailto:email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Migrating shared library plugins to Cocoa Touch Frameworks
      • From: Pascal Bourguignon <email@hidden>
    • Re: Migrating shared library plugins to Cocoa Touch Frameworks
      • From: Jens Alfke <email@hidden>
References: 
 >Migrating shared library plugins to Cocoa Touch Frameworks (From: Andreas Falkenhahn <email@hidden>)
 >Re: Migrating shared library plugins to Cocoa Touch Frameworks (From: Jens Alfke <email@hidden>)
 >Re: Migrating shared library plugins to Cocoa Touch Frameworks (From: Pascal Bourguignon <email@hidden>)

  • Prev by Date: Re: Drag and drop on table view
  • Next by Date: Re: Documentation Workflow
  • Previous by thread: Re: Migrating shared library plugins to Cocoa Touch Frameworks
  • Next by thread: Re: Migrating shared library plugins to Cocoa Touch Frameworks
  • Index(es):
    • Date
    • Thread