>> I try to convert my app to use xCode 4.2 and ARC. My app uses several custom 
>> frameworks and plugins. I used the migration tool to enable ARC for all of 
>> them.
>> 
>> As I still want to support Snow Leopard, I set the SDKROOT to 10.7 and the 
>> Deployment Target to 10.6. But if I do that, on the startup of the app, I 
>> get this in the console: 
>> 
>> objc[9438]: Class __ARCLite__ is implemented in both [..]framework1 and 
>> [..]framework2. One of the two will be used. Which one is undefined. // 
>> removed the paths to frameworks...
>> objc[9438]: Class __ARCLite__ is implemented in both [..]framework1 and 
>> [..]framework3. One of the two will be used. Which one is undefined.
>> objc[9438]: Class __ARCLite__ is implemented in both [..]framework1 and 
>> [..]framework4. One of the two will be used. Which one is undefined.
>> 
>> In the beginning I had only a few but now after converting all of my bundles 
>> (around 20) I have 10 lines of those. The ARCLite stuff seems to be the 
>> implementation to get ARC to work on Snow Leopard.
> 
> That's right. The warning is annoying but otherwise harmless. The machinery 
> that makes ARC code work on older deployment targets was designed for apps, 
> and doesn't work well in frameworks. A future developer tools release should 
> fix this.

Is there a way to remove the code (for __ARCLite__) from the object files? Like 
you can remove the code for a certain architecture?

Georg



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to