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: Andreas Falkenhahn <email@hidden>
- Date: Sun, 04 Dec 2016 21:41:44 +0100
I've now implemented plugin support using dlopen() in my app and
it works fine so far.
However, it seems like *all* symbols are exported to the dylib
inside the Cocoa Touch Framework. How can I configure Xcode to
export only certain symbols? I want to name the symbols that
should be exported explicitly.
When compiling normal macOS dylibs I don't use Xcode at all but
makefiles. In that case, I simply use gcc's -exported_symbol_list
argument to tell the linker which symbols should be made public.
I could probably use this approach for Cocoa Touch Frameworks as
well but I was wondering whether Xcode has a more convenient
solution of marking symbols for export than using the -exported_symbol_list
linker option. Is there any?
--
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