2014-05-21 5 views
5

서버가 불평에 응용 프로그램을 실행하려고 내 통합 봇 ... 없음 대상은 지정된 방식을 위해 유효하다 -destination 플래그와 함께 지정되지 않았습니다

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

에 접근하는 방법을 확실하지

이 오류? 그것을 충돌에

전에 내가 6.1 및 7.0 시뮬레이터가 설치되어 볼 수있는 서버 엑스 코드를 확인 중 ...

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에서 정상적으로 실행됩니다.

답변

1

로그에 7.0이 아닌 7.1 시뮬레이터를 찾고 있다고 나와 있습니다. 7.1 시뮬레이터를 Xcode 서버에 설치하거나 Deployment Target을 7.0으로 다운 그레이드하십시오.

1

빌드 서버에서 Xcode 버전을 업데이트해야했습니다. >Preferences... - ->Components

주어진 SDK 버전이 여기에 해당했다 있는지 확인하십시오 당신이 Xcode에 갈 때

는 또한, 시뮬레이터를 사용할 수있는, 확인할 수 있습니다. 귀하의 경우에는 iOS 7.1 simulator이됩니다. 사용할 수없는 경우 다운로드 버튼을 누릅니다.