• 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: Not finding libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not finding libraries


  • Subject: Re: Not finding libraries
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 29 Dec 2016 10:57:15 -0800
  • Feedback-id: 167118m:167118agrif8a:167118s4d_ecrUqt:SMTPCORP

On Dec 29, 2016, at 09:40 , Howard Moon <email@hidden> wrote:

I was using “Other Linker Flags” to include the libraries, and quoting the paths so that they would remain as one item, both in the settings in the Xcode UI, and in the actual link step.

However, every time I opened the project, the paths were getting mangled, adding ‘\’ escape characters in my settings before each of the quotes and spaces in those libraries’ paths.

I’m not aware of any general problem in this area, so it might be worth spending more time on trying to figure out why this goes wrong for you.

Note that there are *two* UIs for entering path names: click twice on the setting value to get an inline text field, and double-click on the setting value to get a popover with a list of values. If you use the inline text field, using double-quotes around the path string should work fine. If you use the popover, double-quotes that you type will themselves be quoted (by Xcode) when you dismiss the popover.

Unfortunately, when I do that (which is actually what I did at first), it does not let me specify a different library for the Debug versus the Release build. I either select the Release or the Debug, and that is used for all configurations, as far as I can tell.

TBH, I think you should approach this as two targets, not two configurations. I think that would solve your problem directly.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Not finding libraries
      • From: Howard Moon <email@hidden>
References: 
 >Not finding libraries (From: Howard Moon <email@hidden>)

  • Prev by Date: Re: Not finding libraries
  • Next by Date: Re: Not finding libraries
  • Previous by thread: Re: Not finding libraries
  • Next by thread: Re: Not finding libraries
  • Index(es):
    • Date
    • Thread