• 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: Is ARC any smarter than Xcode's 'Analyze'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is ARC any smarter than Xcode's 'Analyze'?


  • Subject: Re: Is ARC any smarter than Xcode's 'Analyze'?
  • From: Aaron Montgomery <email@hidden>
  • Date: Mon, 12 Nov 2012 09:51:52 -0800

It has been awhile since I last did a conversion, but I do remember that when I Analyzed my project it didn't raise any issues, but when I tried to convert to ARC there were a few places where these issues were raised that I needed to fix. Also, converting to ARC might actually move the retain/release statements inserted into the code and may result in fixing the problem (although it would be tough to figure out exactly what it did that fixed the problem).

I guess I would suggest trying to convert on a copy of the project and seeing if it raises any issues or if the conversion fixes the problem.

Aaron

On Nov 12, 2012, at 9:19 AM, Jerry Krinock <email@hidden> wrote:

> I'm debugging a crash in a large project which evidence indicates is caused by a retain/release imbalance.  The project is written with manual retain/release, not ARC.
>
> The project is built in Xcode 4.5.2, and when I 'Analyze', I get no warnings pertaining to memory management.  So the problem must be some edge case which is not caught by 'Analyze'.  Further, I think that ARC is built upon 'Analyze', and therefore if I converted this project to ARC, it would still crash.
>
> Am I correct?
>
>
> _______________________________________________
>
> 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


_______________________________________________

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

References: 
 >Is ARC any smarter than Xcode's 'Analyze'? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Is ARC any smarter than Xcode's 'Analyze'?
  • Next by Date: Re: alertImageDragInDesignWithURL:?
  • Previous by thread: Re: Is ARC any smarter than Xcode's 'Analyze'?
  • Next by thread: Re: Is ARC any smarter than Xcode's 'Analyze'?
  • Index(es):
    • Date
    • Thread