5

サーバー上でアプリを実行しようとすると、統合ボットが不平を言います...

xcodebuild: error: No destinations were specified with the -destination flag which were valid for the specified scheme 'MyScheme'.

このエラーに対処する方法がわかりませんか?

クラッシュする前に、さまざまなデバイスの一連の検索を行います...

2014-05-21 14:14:22.631 xcodebuild[49977:100b] [MT] DVTDeviceSearch: Searching for device with type 'iOS Simulator', options: { OS = "7.1"; name = iPad; }, genericOnly: NO allowMultiple:NO timeout:0.000000 2014-05-21 14:14:23.134 xcodebuild[49977:100b] [MT] DVTDeviceSearch: Search found devices: ( "<DVTiPhoneSimulator: 0x7ff6fdb9a230> {\n\t\tsessionActive: NO\n\t\tlaunchService: (null)\n\t\tlaunchSucceeded: NO\n\t\tcurrentSimulatorSession: (null)\n\t\tdidExitRecursionGuard: NO\n\t\tdeviceInfo: <DeviceInfo iPad>\n\t\tsimulatedSystemRoot: <DTiPhoneSimulatorSystemRoot 0x7ff6fdb8e6f0> path=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk version=7.1 name=Simulator - iOS 7.1\n\t\tsimulatedDeviceFamily: 2\n\t\tsupportedDeviceFamilies: (\n 1,\n 2\n)\n\t\t}" )

サーバーの xcode を確認すると、6.1 および 7.0 シミュレーターがインストールされていることがわかります。

xcodeからも問題なく動作します。

4

2 に答える 2

1

ログには、7.0 ではなく 7.1 シミュレーターを探していると記載されています。7.1 シミュレーターを Xcode サーバーにインストールするか、デプロイメント ターゲットを 7.0 にダウングレードします。

于 2015-04-07T15:16:43.717 に答える