Re: Xcode refuses to add embedded library
Re: Xcode refuses to add embedded library
- Subject: Re: Xcode refuses to add embedded library
- From: Alex Zavatone <email@hidden>
- Date: Fri, 05 May 2017 14:06:38 -0500
I hope you have this working now, but there are a few things you need to be aware of/careful of.
#1, you can’t drag or add the framework binary to your embedded binaries if it has not been built yet.
Xcode just doesn’t let you do it and doesn’t explain why it’s not working.
#2, if you build this framework yourself, it most likely will link and be referred to by “Absolute Path”. This is bad.
This means that if you link in a framework that you built from a debug configuration, you are linking in a debug framework to your product, no matter how you build the release product.
Select your framework that you are trying to drag in and make sure that the Utilities inspector panel is displayed. If the Framework is one you build yourself, and the Location states Absolute Path, change it to be Relative to Build Products. This will make your release app link to and build a version of your framework with the framework’s Release configuration.
This will save you a lot of headaches come release time.
Hope this helps.
Cheers,
Alex Zavatone
> On Apr 28, 2017, at 5:49 PM, Rick Mann <email@hidden> wrote:
>
> Nope, simple project. I'm just trying to drag it onto the embedded binaries section.
>
>> On Apr 28, 2017, at 15:40 , Alex Zavatone <email@hidden> wrote:
>>
>> How are you adding it?
>>
>> Is it in a workspace? There are special ways you need to organize your project to allow dependencies in workspaces.
>>
>> I have to relink my workspace now because of this.
>>
>> On Apr 12, 2017, at 5:25 PM, Rick Mann wrote:
>>
>>> I'm giving up on my attempt to make a Framework for this library, and just trying to add the .dylib to Xcode's Embedded Binaries section. But Xcode won't do it. It refuses the drop.
>>>
>>> Is this something new in 8.3?
>>>
>>> --
>>> Rick Mann
>>> email@hidden
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
>
> --
> Rick Mann
> email@hidden
>
>
_______________________________________________
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