• 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: Using Configurations to build a single target for multiple platforms?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Configurations to build a single target for multiple platforms?


  • Subject: Re: Using Configurations to build a single target for multiple platforms?
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 26 Jan 2016 16:44:48 -0800
  • Feedback-id: 167118m:167118agrif8a:167118sTiLlsHGj2:SMTPCORP

On Jan 18, 2016, at 18:25 , Jens Alfke <email@hidden> wrote:

It’s pretty simple: to make a target cross-platform, modify its SUPPORTED_PLATFORMS build setting to list all the platforms (and their simulators). For example "macosx iphoneos iphonesimulator appletvos appletvsimulator”.

Returning to this topic after a delay…

I’ve been wondering if doing this is actually supported. One problem I see is that that there’s no indication that this approach works for iOS and tvOS together. They have different base SDKs, different potential deployment targets, etc, etc, and I can’t see a per-platform setting for these.

It may be true that it works for OS X and *one* flavor of iOS in the same project, since things that matter seem to have different settings across *that* platform boundary (e.g. base SDK and deployment target). But how would I target iOS 9.0 and tvOS 9.1 in the same target?

On Jan 21, 2016, at 12:33 , Dr. Michael Lauer <email@hidden> wrote:

to make my
iOS frameworks build for tvOS I had to adjust
TARGETED_DEVICE_PLATFORMS as well though.

Should this really be TARGETED_DEVICE_FAMILY? I don’t see the above-named setting.

I’d love to be able to adopt a cross-platform single-target pattern, but I’m not convinced yet that its legal or wise. Any further opinions?

 _______________________________________________
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: Using Configurations to build a single target for multiple platforms?
      • From: Jens Alfke <email@hidden>
References: 
 >Using Configurations to build a single target for multiple platforms? (From: Jens Alfke <email@hidden>)
 >Re: Using Configurations to build a single target for multiple platforms? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Using an anchor in NSURL file url
  • Next by Date: Code signing and provisioning hell
  • Previous by thread: Re: Using Configurations to build a single target for multiple platforms?
  • Next by thread: Re: Using Configurations to build a single target for multiple platforms?
  • Index(es):
    • Date
    • Thread