feat(swift-ios): distinguish development builds

This commit is contained in:
Theo Browne committed 2026-08-09 20:53:11 -07:00
1 parent 40e371b8cd
commit de73b9082a
5 files changed
+28 -9

No files matched your search

@@ -225,12 +225,17 @@ public struct SettingsView: View {
private var aboutSection: some View {
Section("About") {
LabeledContent("App", value: "T3 Code (SwiftUI)")
LabeledContent("App", value: appDisplayName)
LabeledContent("Platform", value: "Native SwiftUI")
Link("Open source", destination: URL(string: "https://github.com/pingdotgg/t3code")!)
}
}
private var appDisplayName: String {
Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String
?? "T3 Code SwiftUI"
}
private var deviceManager: any FeatureDeviceManaging {
(model.client as? any FeatureDeviceManaging) ?? EmptyFeatureDeviceManager.shared
}
+4 -4
View File
@@ -81,10 +81,10 @@ pairing. Supply settings on the `xcodebuild` command line or through a local
Debug and Release use separate identities so a local build can remain installed
beside TestFlight:
| Configuration | Display name | Bundle identifier | URL scheme |
| ------------- | --------------------- | -------------------------------- | -------------------- |
| Debug | T3 Code (SwiftUI Dev) | `com.t3tools.t3code.swiftui.dev` | `t3code-swiftui-dev` |
| Release | T3 Code (SwiftUI) | `com.t3tools.t3code.swiftui` | `t3code-swiftui` |
| Configuration | Display name | Bundle identifier | URL scheme |
| ------------- | --------------- | -------------------------------- | -------------------- |
| Debug | T3 Swift Dev | `com.t3tools.t3code.swiftui.dev` | `t3code-swiftui-dev` |
| Release | T3 Code SwiftUI | `com.t3tools.t3code.swiftui` | `t3code-swiftui` |
Each identity also has matching widget and share-extension bundle identifiers
and a separate App Group. Debug data and credentials therefore do not alter the
Binary file not shown.

After

Width:  |  Height:  |  Size: 780 KiB

@@ -0,0 +1,14 @@
{
"images": [
{
"filename": "AppIconDev-1024.png",
"idiom": "universal",
"platform": "ios",
"size": "1024x1024"
}
],
"info": {
"author": "xcode",
"version": 1
}
}
@@ -599,7 +599,7 @@
isa = XCBuildConfiguration;
buildSettings = {
APS_ENVIRONMENT = development;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIconDev;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = Extensions/Shared/T3Code.entitlements;
CODE_SIGN_STYLE = Automatic;
@@ -607,7 +607,7 @@
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Resources/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "T3 Code Dev";
INFOPLIST_KEY_CFBundleDisplayName = "T3 Swift Dev";
INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
INFOPLIST_KEY_NSAppTransportSecurity_NSAllowsArbitraryLoads = YES;
@@ -746,7 +746,7 @@
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
T3CODE_APP_GROUP_IDENTIFIER = group.com.t3tools.t3code.swiftui.dev;
T3CODE_WIDGET_DISPLAY_NAME = "T3 Code Dev Widgets";
T3CODE_WIDGET_DISPLAY_NAME = "T3 Swift Dev Widgets";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
@@ -810,7 +810,7 @@
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
T3CODE_APP_GROUP_IDENTIFIER = group.com.t3tools.t3code.swiftui.dev;
T3CODE_SHARE_DISPLAY_NAME = "T3 Code (SwiftUI Dev)";
T3CODE_SHARE_DISPLAY_NAME = "T3 Swift Dev";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;