diff --git a/build_paths.sh.template b/build_paths.sh.template index ea3b4cb7..55181ee9 100644 --- a/build_paths.sh.template +++ b/build_paths.sh.template @@ -8,4 +8,7 @@ #export DEVICE_ID= # Apple signing team for iOS device builds (Xcode > Settings > Accounts) #export IOS_TEAM_ID= +# iOS bundle ID; set one your signing team owns to sideload alongside the +# official build (default com.faceclaw.app). Also used by the iOS config scripts. +#export IOS_BUNDLE_ID= diff --git a/nativescript.config.ts b/nativescript.config.ts index 3d6bc5f8..8bdbe6a1 100644 --- a/nativescript.config.ts +++ b/nativescript.config.ts @@ -4,6 +4,10 @@ export default { id: 'com.faceclaw.app', appPath: 'app', appResourcesPath: 'App_Resources', + ios: { + // Sideloading under another signing team needs a bundle ID that team owns. + id: process.env.IOS_BUNDLE_ID || 'com.faceclaw.app', + }, android: { v8Flags: '--expose_gc', markingMode: 'none' diff --git a/scripts/ios_config.py b/scripts/ios_config.py index f5962a39..b51f8725 100644 --- a/scripts/ios_config.py +++ b/scripts/ios_config.py @@ -12,7 +12,7 @@ import time import uuid import xml.etree.ElementTree as ET -BUNDLE = 'com.faceclaw.app' +BUNDLE = os.environ.get('IOS_BUNDLE_ID') or 'com.faceclaw.app' REMOTE = 'Library/FaceclawConfigPort' LIMIT = 2 * 1024 * 1024