xcode: add xcodePlatform to system

This give us a little bit more control over what target we are using.
Eventually we can target other things like WatchOS or MacOS.
This commit is contained in:
Matthew Bauer
2018-06-25 22:18:23 -04:00
parent 9b0b31d981
commit 0bfffbc5e1
4 changed files with 12 additions and 8 deletions

View File

@@ -46,7 +46,6 @@ rec {
# Misc boolean options
useAndroidPrebuilt = false;
useiOSPrebuilt = false;
isiPhoneSimulator = false;
} // mapAttrs (n: v: v final.parsed) inspect.predicates
// args;
in assert final.useAndroidPrebuilt -> final.isAndroid;

View File

@@ -101,6 +101,7 @@ rec {
# config = "aarch64-apple-darwin14";
sdkVer = "10.2";
xcodeVer = "8.2";
xcodePlatform = "iPhoneOS";
useiOSPrebuilt = true;
platform = {};
};
@@ -110,6 +111,7 @@ rec {
# config = "arm-apple-darwin10";
sdkVer = "10.2";
xcodeVer = "8.2";
xcodePlatform = "iPhoneOS";
useiOSPrebuilt = true;
platform = {};
};
@@ -119,8 +121,8 @@ rec {
# config = "x86_64-apple-darwin14";
sdkVer = "10.2";
xcodeVer = "8.2";
xcodePlatform = "iPhoneSimulator";
useiOSPrebuilt = true;
isiPhoneSimulator = true;
platform = {};
};
@@ -129,8 +131,8 @@ rec {
# config = "i386-apple-darwin11";
sdkVer = "10.2";
xcodeVer = "8.2";
xcodePlatform = "iPhoneSimulator";
useiOSPrebuilt = true;
isiPhoneSimulator = true;
platform = {};
};