Re: Debugging ARC app on Snow Leopard
Re: Debugging ARC app on Snow Leopard
- Subject: Re: Debugging ARC app on Snow Leopard
- From: Quincey Morris <email@hidden>
- Date: Sun, 27 Nov 2011 16:50:19 -0800
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.html
this 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.
I'm half-inclined to think that it might work to debug the app outside of the Xcode environment (i.e. gdb from the command line), but that's getting too unixey for my tastes.
|
_______________________________________________
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