• 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
Xcode and applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode and applescript


  • Subject: Xcode and applescript
  • From: Dmitry Markman <email@hidden>
  • Date: Sun, 10 May 2009 19:00:02 -0400

Hi
suppose I have project that have 2 targets
and first target has second target as a dependency

then when I try to run the following script

set posix_project_t_path to "/Users/dima/Projects/AppleScript/AppleScriptTest/AppleScriptTest.xcodeproj"
set project_t_path to POSIX file posix_project_t_path

tell application "Xcode"
open project_t_path
set my_project to project of active project document
tell my_project
set target1 to target "AppleScriptTest"
end tell
set dep1 to get target dependencies of target1
log (get class of dep1)
log (get length of dep1)
set dp to get item 1 of dep1
log dep1
log dp
end tell

I'm getting an error (on line "log dp")

(*list*)
(*1*)
(*target dependency id 32DAB06A0FB789E5000C9701 of target id DA7A5E150B4C3DE800BB276E of project AppleScriptTest*)
(*target dependency id 32DAB06A0FB789E5000C9701 of target id DA7A5E150B4C3DE800BB276E of project AppleScriptTest*)
--> error number -1728 from «class tard» id "32DAB06A0FB789E5000C9701" of «class tarR» id "DA7A5E150B4C3DE800BB276E" of «class proj» "AppleScriptTest"

I can not check any property of the item 1 of the dep1 list

thanks for any insight into that situation

Dmitry Markman


 _______________________________________________
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 and applescript
      • From: Dmitry Markman <email@hidden>
  • Prev by Date: Re: category in static lib
  • Next by Date: Re: Xcode and applescript
  • Previous by thread: Re: category in static lib
  • Next by thread: Re: Xcode and applescript
  • Index(es):
    • Date
    • Thread