Re: Debugging ARC app on Snow Leopard
Re: Debugging ARC app on Snow Leopard
- Subject: Re: Debugging ARC app on Snow Leopard
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 28 Nov 2011 10:03:30 +0100
Le 28 nov. 2011 à 01:50, Quincey Morris a écrit : On Nov 26, 2011, at 15:43 , Dave Fernandes wrote: Are you able to debug ARC Mac apps on Snow Leopard?
Sorry about the delay in replying, but I wanted to work through the whole 4.2/SL experience "clean" and it took me a while. I can't debug ARC Mac apps on Snow Leopard because I can't build ARC Mac apps on SL. I guess you were there way ahead of me, but it wasn't completely obvious from your original post. I eventually found, in: http://developer.apple.com/library/mac/#releasenotes/ObjectiveC/RN-TransitioningToARC/_index.htmlthis FAQ: Can I develop applications for Mac OS X with ARC using Snow Leopard? No. The Snow Leopard version of Xcode 4.2 doesn’t support ARC at all on Mac OS X, because it doesn’t include the 10.7 SDK. Xcode 4.2 for Snow Leopard does support ARC for iOS though, and Xcode 4.2 for Lion supports both Mac OS X and iOS. This means you need a Lion system to build an ARC application that runs on Snow Leopard.
In the light of *that* statement I wouldn't really expect to be able to run an ARC app from Xcode 4.2 for SL, because in Xcode "run" means "build and run". It was probably reasonable for you to hold out *some* hope that the running part might work properly if the building part was already done, but you seem to have demonstrated that isn't the case.
Create a new Target in your project that contains only a blank file, or nothing at all. Create a scheme that build this target, and run your actual executable. Like that, Xcode will not try to rebuild your application when launching it.
Note that I didn't try if it actually works on Xcode 4, but that's how I'm used to do it in Xcode 3 when I have to debug on 10.5 an app that required the 10.6 SDK.
|
_______________________________________________
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