2009-08-14 20 views

答えて

2

答えが見つかりました。シミュレータSDKを指すパスにビルド設定SDKROOTを設定する必要がありました。

set SDK to "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk/" 
    open file templateProj 
    set tabReaderProj to project "MyProj" 
    tell tabReaderProj 
     set the active target to the target named "MyTarget" 
     set value of build setting "SDKROOT" of every build configuration of the active target to SDK 
    end tell 
+0

これはどのようにしてAppleScriptで行いましたか? – probablyCorey

+0

私は私の答えに多くの情報を追加しました – Ian1971

+0

ありがとう! AppleScriptを使用してXcodeでアクティブなターゲットを設定する方法については、すべて調べました。ここで答えを見つけるのは楽しいです。 –

関連する問題