• 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: 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


  • Follow-Ups:
    • Re: Migrating shared library plugins to Cocoa Touch Frameworks
      • From: Jean-Daniel <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>)
 >Re: Migrating shared library plugins to Cocoa Touch Frameworks (From: Andreas Falkenhahn <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>)
 >Re: Migrating shared library plugins to Cocoa Touch Frameworks (From: Jens Alfke <email@hidden>)
 >Re: Migrating shared library plugins to Cocoa Touch Frameworks (From: Andreas Falkenhahn <email@hidden>)
 >Re: Migrating shared library plugins to Cocoa Touch Frameworks (From: Pascal Bourguignon <email@hidden>)

  • Prev by Date: Re: Message from iOS to watchOS
  • 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