You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By changing the SUPPORTED_PLATFORMS build setting to a list of all
platforms, I made the iOS targets buildable for both iOS and tvOS, so
we don't need any extra targets or duplicated build settings.
Build the CBL iOS and CBL Listener iOS targets, as usual.
Use the scheme destination pop-up, or the -destination arg of
xcodebuild, to specify which platform to build for.
Fixes#1042
I ended up not merging the earlier release/1.1.1-appleTV branch. There were horrible conflicts in multiple pbxproj files due to the divergence between 1.1 and 1.2, and also I found out about a better technique:
Instead of creating extra targets for tvOS (duplicated from the iOS targets), I simply changed the Supported Platforms build setting on the existing iOS targets:
This allows those targets to build for either iOS or tvOS. The top-level build is determined by the scheme destination pop-up in Xcode, or by the -destination flag to xcodebuild.
In the CBForest project I went even further and merged the Mac OS targets too — so now there's only a single set of targets in there that build for all three platforms! I was a bit scared to do that to CBL right now, but I plan to after 1.2.
currently on branch
release/1.1.1-appleTV
The text was updated successfully, but these errors were encountered: