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

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


  • Subject: Re: [Help !!!] Apple Script Xcode 4, thank you so much
  • From: Ronald Hofmann <email@hidden>
  • Date: Wed, 07 Dec 2011 07:28:37 +0100

- Are you on Lion?
- Have you got the latest Xcode 4?
   Remember, you can still open your projects with Xcode 3 and check if it works there.
- Did you go to project info and switch the target to the current system?
- Did you load the correct framework?


Regards
Ronald Hofmann
---

Am 07.12.2011 um 01:54 schrieb tao li <email@hidden>:

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
References: 
 >[Help !!!] Apple Script Xcode 4, thank you so much (From: tao li <email@hidden>)

  • Prev by Date: Re: [Help !!!] Apple Script Xcode 4, thank you so much
  • Next by Date: Auto Resize columns on opening a text file in Excel
  • Previous by thread: Re: [Help !!!] Apple Script Xcode 4, thank you so much
  • Next by thread: How to tell applescript to debug Xcode project (On Xcode 4)
  • Index(es):
    • Date
    • Thread