2011-12-28 13 views
0

私はAppleScriptを使用してiOSシミュレータでのiPhoneのプロジェクトを実行したいので、私はこのコードを書いた:AppleScriptでXcodeプロジェクトを取得できないのはなぜですか?

tell application "Xcode" 
    open "IAPPS:Xcode 4:EightQueens:EightQueens.xcodeproj" 
    tell project "EightQueens.xcodeproj" 
     clean 
     build 
     try 
      debug 
     end try 
    end tell 
    quit 
end tell 

しかし、それは私にこのエラー与えている:

Xcode got an error: Can’t get project "EightQueens.xcodeproj". 

私が間違っているのは何を?

答えて

2

プロジェクトが命名されていないからです"EightQueens。xcodeproj"。エラーが何私は、BT、NTの作業を試してみました
tell project "EightQueens"

+0

.... –

+0

...:

代わりの
tell project "EightQueens.xcodeproj"
のですか? – Guillaume

+0

同じエラーXcodeにもエラーがあります:プロジェクト "EightQueens.xcodeproj"を取得できません。 –

関連する問題