• 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
Linking one framework to two places in a project and static libs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking one framework to two places in a project and static libs


  • Subject: Linking one framework to two places in a project and static libs
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 13 Dec 2016 14:59:39 -0600

I've got a lovely (cough) non ARC iOS project that consists of 1 project file that the target app is made from that links to 5 other projects that are compiled to static libs through the odd method of specifying their path in Other Linker Flags.

This is built (cough) through the legacy build path setting of having the build folder within each of the project folders.  The absolute path of each is what is entered in Other Linker Flags of the main project file to allow the iOS target app to link to these static libs.

Yes, it hurts my brain too.

Both the project file and one of the static libs need to be aware of my framework.

Considering how much of a mess this whole thing is to figure out, I simply paste one copy of my framework into Framework folder of the app and the Resources folder of the static lib that needs it, so which ever one Xcode picks doesn't matter.

This is sloppy as hell.

Is there a method that uses a shortcut, alias or symbolic link to have the framework that should be in the Resources folder then the static lib ids built refer to the actual file that is in the Frameworks folder that the app uses??

How do people handle this > 1 lib in a project needs to refer to another compiled lib?

Thanks much
Alex Zavatone
_______________________________________________

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: Linking one framework to two places in a project and static libs
      • From: Jean-Daniel <email@hidden>
  • Prev by Date: Re: Accessing pointer structure members inside block function
  • Next by Date: Re: Linking one framework to two places in a project and static libs
  • Previous by thread: Re: Accessing pointer structure members inside block function
  • Next by thread: Re: Linking one framework to two places in a project and static libs
  • Index(es):
    • Date
    • Thread