Re: Migrating shared library plugins to Cocoa Touch Frameworks
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