titaniumenv: Make iOS SDK version configurable in example

This commit is contained in:
Sander van der Burg 2014-10-27 22:55:14 +01:00
parent 84d844e03d
commit c5f3b32ac5
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
, xcodeBaseDir ? "/Applications/Xcode.app"
, tiVersion ? "3.4.0.GA"
, rename ? false
, newBundleId ? "com.example.kitchensink", iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? "Example", iosCertificatePassword ? ""
, newBundleId ? "com.example.kitchensink", iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? "Example", iosCertificatePassword ? "", iosVersion ? "8.0"
, allowUnfree ? false
, enableWirelessDistribution ? false, installURL ? null
}:
@ -62,7 +62,7 @@ rec {
kitchensink_ios_development = import ./kitchensink {
inherit (pkgs) fetchgit;
titaniumenv = pkgs.titaniumenv.override { inherit xcodeVersion xcodeBaseDir tiVersion; };
inherit tiVersion;
inherit tiVersion iosVersion;
target = "iphone";
};
@ -84,7 +84,7 @@ rec {
inherit tiVersion;
release = true;
rename = true;
inherit newBundleId iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword;
inherit newBundleId iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword iosVersion;
inherit enableWirelessDistribution installURL;
};
}

View File

@ -1,5 +1,5 @@
{ titaniumenv, fetchgit, target, androidPlatformVersions ? [ "14" ], tiVersion ? "3.2.3.GA", release ? false
, rename ? false, stdenv ? null, newBundleId ? null, iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? null, iosCertificatePassword ? null
, rename ? false, stdenv ? null, newBundleId ? null, iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? null, iosCertificatePassword ? null, iosVersion ? "8.0"
, enableWirelessDistribution ? false, installURL ? null
}:
@ -37,6 +37,6 @@ titaniumenv.buildApp {
androidKeyAlias = "myfirstapp";
androidKeyStorePassword = "mykeystore";
inherit iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword;
inherit iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword iosVersion;
inherit enableWirelessDistribution installURL;
}