Re: Debug without building in Xcode 4?
Re: Debug without building in Xcode 4?
- Subject: Re: Debug without building in Xcode 4?
- From: Joar Wingfors <email@hidden>
- Date: Wed, 17 Oct 2012 19:52:23 -0700
On 17 okt 2012, at 12:59, Rick Mann <email@hidden> wrote:
> On Oct 17, 2012, at 10:42 , Steve Mills <email@hidden> wrote:
>
>> Product->Perform Action->Run Without Building. I bind mine to control-r like it used to be in the good ol' days.
>
> Is there no way to get it to run without building (and signing and installing), but only if there are no changes, and to build first if there are?
Absolutely, that's the default behavior for Cmd+R, or Product > Run.
As you would expect this depends on Xcode being able to figure out what is in need of update, and dependencies between things that needs update. Xcode doesn't know how to figure out what files that are being read from or written to by script build phases so they'll always get run, but that exception aside, that's certainly provided for by the Xcode build system.
On 17 okt 2012, at 13:13, Steve Mills <email@hidden> wrote:
> No, Xcode isn't that smart.
What's not working as expected in your experience?
On 17 okt 2012, at 13:32, Rick Mann <email@hidden> wrote:
> I can decide ahead of time if my project needs to rebuild always, rebuild only on change, or run without rebuild. It's not too much to ask for "rebuild only on change". One of the major aspects of a build system is to track changes like that.
...which is why Xcode offers that behavior out of the box.
On 17 okt 2012, at 14:09, Rick Mann <email@hidden> wrote:
> No, it doesn't recompile, but it sure does a lot of other stuff, most evident in this awful Unity project I'm having to work with. None of that needs to be done if I haven't touched a source file. (But if I do happen to touch one, I want *it* to notice; I don't want to have to keep track myself.)
Sounds to me like what you really should be doing is to file a bug report with Unity about the way their project is configured.
Joar
_______________________________________________
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