• 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: Jens Alfke <email@hidden>
  • Date: Fri, 02 Dec 2016 09:21:10 -0800

> On Dec 2, 2016, at 6:37 AM, Andreas Falkenhahn <email@hidden> wrote:
>
> 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?

Don’t build a framework and don’t link the app with it. Just build a dynamic library and export the symbols for the entry points. (Exactly the same way as you do for macOS.)

—Jens

_______________________________________________

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: Andreas Falkenhahn <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>)
 >Re: Migrating shared library plugins to Cocoa Touch Frameworks (From: Andreas Falkenhahn <email@hidden>)

  • Prev by Date: Re: Drag and drop on table view
  • Next by Date: Re: Migrating shared library plugins to Cocoa Touch Frameworks
  • 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