From 0a9625806ee74bcd02ba0eccc1ede51994f3b499 Mon Sep 17 00:00:00 2001 From: FilipAlexander <55953550+FilipAlexander@users.noreply.github.com> Date: Sat, 17 Oct 2026 16:42:32 +0200 Subject: [PATCH] iOS: IOS_BUNDLE_ID overrides the bundle ID for sideloading Building under another signing team needs a bundle ID that team owns. IOS_BUNDLE_ID (build_paths.sh) sets the iOS app ID, defaulting to com.faceclaw.app, and the iOS config transfer scripts use it too. Co-Authored-By: Claude Opus 5.5 --- build_paths.sh.template | 3 +++ nativescript.config.ts | 4 ++++ scripts/ios_config.py | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) 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