• 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: Xcode 4 and user scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 4 and user scripts


  • Subject: Re: Xcode 4 and user scripts
  • From: Eric Gorr <email@hidden>
  • Date: Mon, 09 May 2011 21:46:06 -0400

On May 9, 2011, at 5:54 PM, Eric Wing wrote:
> I think it is broken. I posted a message weeks ago entitled:
> "ScriptingBridge with Xcode4: how to invoke build/run?" and never got
> a response.

It took a bit of playing around, but I was able to invoke build with the following script:

tell application "Xcode"
	copy first workspace document to myWorkspace
	--set myProject to the first project of myWorkspace
	--set myTarget to the first target of myProject

	build myWorkspace
end tell

It looks like the debug command will be addressed later. If one merely wanted to launch an application, without the debugger, one should be able to do that via the finder.


 _______________________________________________
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: Xcode 4 and user scripts
      • From: Jean-Denis Muys <email@hidden>
References: 
 >Xcode 4 and user scripts (From: Sebastian Mecklenburg <email@hidden>)
 >Re: Xcode 4 and user scripts (From: Laurent Daudelin <email@hidden>)
 >Re: Xcode 4 and user scripts (From: Sebastian Mecklenburg <email@hidden>)
 >Re: Xcode 4 and user scripts (From: Eric Gorr <email@hidden>)
 >Re: Xcode 4 and user scripts (From: Eric Wing <email@hidden>)

  • Prev by Date: Unit tests on a bundle
  • Next by Date: Re: Xcode 4 and user scripts
  • Previous by thread: Re: Xcode 4 and user scripts
  • Next by thread: Re: Xcode 4 and user scripts
  • Index(es):
    • Date
    • Thread