• 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
[Help !!!] Apple Script Xcode 4, thank you so much
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help !!!] Apple Script Xcode 4, thank you so much


  • Subject: [Help !!!] Apple Script Xcode 4, thank you so much
  • From: tao li <email@hidden>
  • Date: Wed, 07 Dec 2011 08:54:51 +0800

Hi all you nice guys, 

I use the following script to automatically start my executable Xcode project on an IOS device.

This script work fine on Xcode3, but on Xcode 4 it doesn't work normally , it report some error like can not get active project document 

I execute the apple script like this 

./debug  Users:tom:network.xcodeproj     
 (This mean my project file is under Users/tom/network.xcodeproj with network.app under Users/tom/build/iPhoneDebug-iphoneos/network.app)

My script file is as follows 
=========================Apple script Name : debug=======================
#!/usr/bin/osascript
##script for start executable from Xcode project, only debug mode could be used

on run argv
set myProject to (item 1 of argv)
tell application "Xcode"
open myProject
set targetProject to project of active project document
tell targetProject
try
with timeout of 10 seconds
debug targetProject
end timeout
end try
end tell
end tell
end run


Does anyone know why?? Or does anybody know how to debug an IOS app on Xcode4(on device) .
This is urgent and I really need your reply, thank you so much!
Your reply will be really appreciated!

Best regards,
Tao li


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: [Help !!!] Apple Script Xcode 4, thank you so much
      • From: Ronald Hofmann <email@hidden>
    • Re: [Help !!!] Apple Script Xcode 4, thank you so much
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: window arrangement
  • Next by Date: Re: Contextual menus
  • Previous by thread: Re: window arrangement
  • Next by thread: Re: [Help !!!] Apple Script Xcode 4, thank you so much
  • Index(es):
    • Date
    • Thread