titaniumenv: add parameter that specifies than an IPA build is a store build

+2 -2
+2 -2
pkgs/development/mobile/titaniumenv/build-app.nix
··· 2 { name, src, preBuild ? "", target, androidPlatformVersions ? [ "25" ], androidAbiVersions ? [ "armeabi" "armeabi-v7a" ], tiVersion ? null 3 , release ? false, androidKeyStore ? null, androidKeyAlias ? null, androidKeyStorePassword ? null 4 , iosMobileProvisioningProfile ? null, iosCertificateName ? null, iosCertificate ? null, iosCertificatePassword ? null, iosVersion ? "11.2" 5 - , enableWirelessDistribution ? false, installURL ? null 6 }: 7 8 assert (release && target == "android") -> androidKeyStore != null && androidKeyAlias != null && androidKeyStorePassword != null; ··· 145 security default-keychain -s $keychainName 146 147 # Do the actual build 148 - titanium build --config-file $TMPDIR/config.json --force --no-colors --platform ios --target dist-adhoc --pp-uuid $provisioningId --distribution-name "${iosCertificateName}" --keychain $HOME/Library/Keychains/$keychainName-db --device-family universal --ios-version ${iosVersion} --output-dir $out 149 150 # Remove our generated keychain 151 ${deleteKeychain}
··· 2 { name, src, preBuild ? "", target, androidPlatformVersions ? [ "25" ], androidAbiVersions ? [ "armeabi" "armeabi-v7a" ], tiVersion ? null 3 , release ? false, androidKeyStore ? null, androidKeyAlias ? null, androidKeyStorePassword ? null 4 , iosMobileProvisioningProfile ? null, iosCertificateName ? null, iosCertificate ? null, iosCertificatePassword ? null, iosVersion ? "11.2" 5 + , enableWirelessDistribution ? false, iosBuildStore ? false, installURL ? null 6 }: 7 8 assert (release && target == "android") -> androidKeyStore != null && androidKeyAlias != null && androidKeyStorePassword != null; ··· 145 security default-keychain -s $keychainName 146 147 # Do the actual build 148 + titanium build --config-file $TMPDIR/config.json --force --no-colors --platform ios --target ${if iosBuildStore then "dist-appstore" else "dist-adhoc"} --pp-uuid $provisioningId --distribution-name "${iosCertificateName}" --keychain $HOME/Library/Keychains/$keychainName-db --device-family universal --ios-version ${iosVersion} --output-dir $out 149 150 # Remove our generated keychain 151 ${deleteKeychain}