On Jan 18, 2016, at 18:25 , Jens Alfke <j...@mooseyard.com> 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 <mic...@vanille.de> 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      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to