Re: Not finding libraries
Re: Not finding libraries
- Subject: Re: Not finding libraries
- From: Alex Zavatone <email@hidden>
- Date: Mon, 09 Jan 2017 14:02:39 -0600
On Jan 9, 2017, at 10:47 AM, Howard Moon wrote:
>
>> On Jan 6, 2017, at 9:00 PM, Alex Zavatone <email@hidden> wrote:
>>
>> OK. You can add the quotes around the paths straight within the build settings. That's what I was talking about before.
>>
>
> Only if you do so in the .xcconfig file. If they are in the settings (whether it’s in Other Linker Flags or Library Search Paths), Xcode (6.4) will mangle them at some point.
I've been doing this for years. It's possible that a 6.4 error might be munching things, but I think I have a pretty big project that we did this in starting in 2012.
>> You certainly can add these to an xcconfig, but if you search build settings for "Other Linker Flags", it's right there in your build settings and you already have a Debug and a Release configuration. Just click on the item and there is a hidden arrow on the left that lets you expand this to see both configs.
>>
>
> I know that. That’s how I knew what symbol to put in the .xcconfig file, by dragging the current values from the settings to my config file, so that I could edit by hand to exactly what I wanted.
>
>> Seriously, it's pure idiocy for the UI team to hide these REALLY IMPORTANT UI controls. It's complete BS to obscure vital parts of the UI that tell the user that the thing they are looking at is not 1 item, but an expandable item that contains MORE items.
>>
>> My whole idea was to learn what's provided to us already and learn how to work within that, before I go off and start entering things by hand.
>>
>> The only thing you had to do was put double quotes around paths within the build settings section for it.
>>
>
> No, that is NOT the case. I know about expanding the settings for each configuration. I did that. And I put double-quotes around the paths in the Other Linker Flags settings, including trying entering it all on one line and by making separate lines myself (with the ‘+’ button). Either way ends up the same. When later re-opening Xcode, it adds \ escape characters to the spaces and double-quotes in the paths.
>
Which version of Xcode are you using? Because I'm in 7.3.x and that's the way I mentioned is the way I'm going it right now. In fact, I think I have a massive workspace with like 24 referenced projects and a few areas where we had to do add quotes to the paths and it actually works.
I think we had to do this in 6.4, because 7 didn't exist yet.
I wonder what the difference is between both of our approaches?
- Z
_______________________________________________
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