0
私は、オートスクリプトを使用してオートメーターを実行していますが、オートメーター内で動作している間は、xcodeから実行すると失敗します。 は、ここに私のコードです:xcode内でオートメーターが動作しない
tell application "Xcode"
set targetProjectPath to path of active workspace document
set targetProjectPath to POSIX file (targetProjectPath & "/..") as string
set targetProjectPath to POSIX path of targetProjectPath
tell application "System Events"
tell process "Xcode"
click menu item "Save" of menu 0 of menu bar item "File" of menu bar 0
end tell
end tell
return {targetProjectPath}
end tell
私は後でいくつかの作業を行うためにアクティブなワークスペースのパスを保存し、私を返すトリガーしようとしています。 私はちょうどそれを数日後に開始したので、それは本当にばかげた何か私を許してください。