Re: [SOLVED] Debugging ARC app on Snow Leopard
Re: [SOLVED] Debugging ARC app on Snow Leopard
- Subject: Re: [SOLVED] Debugging ARC app on Snow Leopard
- From: Dave Fernandes <email@hidden>
- Date: Mon, 28 Nov 2011 15:03:26 -0500
On 2011-11-28, at 4:03 AM, Jean-Daniel Dupas wrote:
>
> 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.
The problem was with Xcode 4, and not ARC per se. Xcode seems to be saving the absolute paths to the object (.o) files *at build time*. This means if you build and run from different boot volumes, and your project directory is not mounted at exactly the same path, then Xcode cannot find the object files.
So the solution is to make sure the project directory is mounted at the same place; or, if you build on your Lion boot volume, then copy the (built on Lion) project directory to exactly the same place on your Snow Leopard boot volume.
With this, I was able to do source level debugging of an ARC app on Snow Leopard.
I'll file a bug report on Xcode - that it should use relative paths for the object files.
Dave Fernandes
_______________________________________________
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