• 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: [SOLVED] Debugging ARC app on Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: [SOLVED] Debugging ARC app on Snow Leopard
      • From: Scott Ribe <email@hidden>
    • Re: [SOLVED] Debugging ARC app on Snow Leopard
      • From: Jonas Maebe <email@hidden>
    • Re: [SOLVED] Debugging ARC app on Snow Leopard
      • From: Chris Cleeland <email@hidden>
References: 
 >Debugging ARC app on Snow Leopard (From: Dave Fernandes <email@hidden>)
 >Re: Debugging ARC app on Snow Leopard (From: Quincey Morris <email@hidden>)
 >Re: Debugging ARC app on Snow Leopard (From: Dave Fernandes <email@hidden>)
 >Re: Debugging ARC app on Snow Leopard (From: Quincey Morris <email@hidden>)
 >Re: Debugging ARC app on Snow Leopard (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: MainWindow.xib required or not?
  • Next by Date: Re: [SOLVED] Debugging ARC app on Snow Leopard
  • Previous by thread: Re: Debugging ARC app on Snow Leopard
  • Next by thread: Re: [SOLVED] Debugging ARC app on Snow Leopard
  • Index(es):
    • Date
    • Thread