I found the best solution for this, and I now owe an off-list benefactor a beer.
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”. Once you do this, the target becomes buildable for all those platforms. In Xcode you can choose the platform from the scheme destination pop-up in the toolbar. With xcodebuild, use the -destination flag. The binaries for the platforms stay separate — each goes into its regular product directory as usual, like “Debug-iphoneos”. This has made my project so much cleaner! —Jens
_______________________________________________ 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