• 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
how to specify xcodebuild destination?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to specify xcodebuild destination?


  • Subject: how to specify xcodebuild destination?
  • From: Jean-Denis MUYS <email@hidden>
  • Date: Thu, 06 Dec 2012 09:05:38 +0000
  • Thread-topic: how to specify xcodebuild destination?

Hi,

xcodebuild has options for -target, -scheme, -configuration

But how can I tell xcodebuild to build for such and such destination?

In my specific case, I want to either build for an iOS device, or for some version of the iOS simulator.

The scheme editor currently shows the following available destinations:

- iOS Device
- iPad 5.1 Simulator
- iPad 6.0 Simulator
- iPad 6.1 Simulator

Hmmm… Maybe this suggests that "destination" is a "Run" parameter, not a "Build" parameter.

If you think I am confused, you are probably correct.

So then, if I want to build "for the device" or "for the simulator", how should I proceed?

Do I need to specify the correct value for both the -arch (e.g. armv7, arvm7s, i386) *and* the -sdk?

Thanks,

Jean-Denis


[Logo Kleegroup]
Klee Group is a great place to work – Il fait bon travailler à Klee Group

 _______________________________________________
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: how to specify xcodebuild destination?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Double-click selection differences between Xcode 3 & 4
  • Next by Date: Re: how to specify xcodebuild destination?
  • Previous by thread: Re: Double-click selection differences between Xcode 3 & 4
  • Next by thread: Re: how to specify xcodebuild destination?
  • Index(es):
    • Date
    • Thread