Re: [ANS]: Is the force_load flag still necessary?
Re: [ANS]: Is the force_load flag still necessary?
- Subject: Re: [ANS]: Is the force_load flag still necessary?
- From: Alexander von Below <email@hidden>
- Date: Fri, 29 Mar 2013 11:19:24 +0100
OK, I've done so myself: Here is a sample project that shows that the -ObjC flag is sufficient
https://github.com/below/LInkerTestLib
Alex
>>
>> On Mar 28, 2013, at 10:10 AM, David Hoerl <email@hidden> wrote:
>>
>>> I found out (the hard way) that as of Xcode 4.6.1 the force_load flag is still required if a static library has Objective-C categories.
>>
>> Really? I develop a static library that has Obj-C categories, and the instructions for using it in apps just say to add the “-ObjC” linker flag. It works fine in the demo apps and I haven’t heard from developers whom it hasn’t worked for.
>>
>> —Jens
>> _______________________________________________
>> 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
> _______________________________________________
> 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
_______________________________________________
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