• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcodebuild sdk version mismatch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcodebuild sdk version mismatch


  • Subject: Re: xcodebuild sdk version mismatch
  • From: Joar Wingfors <email@hidden>
  • Date: Fri, 20 Dec 2013 22:12:50 -0800

Damian,

You need to use the "-destination" parameter to specify which iOS Simulator to use. See the xcodebuild man page for details, including examples of command line invocations at the end.

Joar


On 20 dec 2013, at 15:35, Damian Carrillo <email@hidden> wrote:

> Hello,
>
> I have added a new integration testing target that uses XCTest to an older iOS project. I can run this target successfully through Xcode with a scheme named MyApp-Integration. When I try to run it from the command line, it seems to be picking the wrong simulator version to run against, even when I specify the SDK version. For example, my shell command looks like the following…:
>
>     xcrun xcodebuild -scheme MyApp-Integration -sdk iphonesimulator7.0 test
>
> …and the output is the following:
>
>     2013-12-20 17:28:57.517 sim[26757:303] /Applications/Xcode.app/Contents/Developer/Platforms
>         /iPhoneSimulator.platform/usr/bin/sim:   Dead bootstrap subset.
>     2013-12-20 17:28:57.904 sim[26757:303] /Applications/Xcode.app/Contents/Developer/Platforms
>         /iPhoneSimulator.platform/usr/bin/sim: Did not find an executable file at the path:
>         '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer
>         /SDKs/iPhoneSimulator6.1.sdk/Developer/usr/bin/xctest’
>
> Am I missing something, or is the machinery not respecting my -sdk flag?
>
> Thanks for any help you can provide,
>
> Damian
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: xcodebuild sdk version mismatch
      • From: Damian Carrillo <email@hidden>
References: 
 >xcodebuild sdk version mismatch (From: Damian Carrillo <email@hidden>)

  • Prev by Date: xcodebuild sdk version mismatch
  • Next by Date: Re: Xcode 5.0.2 Documentation Navigator not displaying 10.8 docs
  • Previous by thread: xcodebuild sdk version mismatch
  • Next by thread: Re: xcodebuild sdk version mismatch
  • Index(es):
    • Date
    • Thread