• 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: ARC and 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC and 10.6


  • Subject: Re: ARC and 10.6
  • From: Greg Parker <email@hidden>
  • Date: Thu, 02 Feb 2012 15:24:05 -0800

On Feb 2, 2012, at 2:51 PM, Georg Seifert <email@hidden> wrote:
> 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.


> That should not be a problem. BUT I also get this:
>
> 2012-02-02 23:35:54.057 Glyphs[9438:1803] *** NSInvocation: warning: object 0x1006db648 of class '__ARCLite__' does not implement methodSignatureForSelector: -- trouble ahead
> 2012-02-02 23:35:54.057 Glyphs[9438:1803] *** NSInvocation: warning: object 0x1006db648 of class '__ARCLite__' does not implement doesNotRecognizeSelector: -- abort
>
> And this just crashes the app. Does anyone has a clue what is going on here? google is not very helpful.

That's bad. What is the backtrace?


--
Greg Parker     email@hidden     Runtime Wrangler



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: ARC and 10.6
      • From: Georg Seifert <email@hidden>
    • Re: ARC and 10.6
      • From: Georg Seifert <email@hidden>
    • Re: ARC and 10.6
      • From: Georg Seifert <email@hidden>
References: 
 >ARC and 10.6 (From: Georg Seifert <email@hidden>)

  • Prev by Date: Re: Selected text in NSTextField
  • Next by Date: Re: Selected text in NSTextField
  • Previous by thread: ARC and 10.6
  • Next by thread: Re: ARC and 10.6
  • Index(es):
    • Date
    • Thread