@@ -5,19 +5,38 @@ MARKETING_VERSION = 0.0.0
55CURRENT_PROJECT_VERSION = 0000
66
77// Vars to be overwritten by `CodeSigning.xcconfig` if exists
8+ ORG = io.SideStore
89DEVELOPMENT_TEAM = HXY2D2FQXT
9- ORG_IDENTIFIER = io.SideStore
10-
1110CODE_SIGN_STYLE = Automatic
12- DEVELOPMENT_TEAM[config=Archive] = XYZ0123456
11+
12+ // Vars that allow anyone to export a build via 'Product > Archive' in Xcode
1313CODE_SIGN_STYLE[config=Archive] = Manual
14- CODE_SIGNING_REQUIRED[config=Archive] = NO
14+ DEVELOPMENT_TEAM[config=Archive] = XYZ0123456
15+ CODE_SIGN_IDENTITY[config=Archive] = -
16+ CODE_SIGNING_ALLOWED[config=Archive] = YES
17+ CODE_SIGNING_REQUIRED[config=Archive] = YES
1518AD_HOC_CODE_SIGNING_ALLOWED[config=Archive] = YES
16- CODE_SIGNING_ALLOWED[config=Archive] = NO
1719
1820// Codesigning settings defined optionally, see `CodeSigning.xcconfig.example`
1921#include? "CodeSigning.xcconfig"
2022
23+ PRODUCT_NAME = SideBackup
24+
25+ INFOPLIST_FILE = $(PRODUCT_NAME)/Info.plist
26+ CODE_SIGN_ENTITLEMENTS = $(PRODUCT_NAME)/$(PRODUCT_NAME).entitlements
27+
28+ PRODUCT_BUNDLE_IDENTIFIER[config=*] = $(ORG).$(DEVELOPMENT_TEAM).$(PRODUCT_NAME)
29+ // we set without a Team ID when archiving
30+ PRODUCT_BUNDLE_IDENTIFIER[config=Archive] = $(ORG).$(PRODUCT_NAME)
31+
32+ GROUP_ID = com.SideStore.SideStore.$(DEVELOPMENT_TEAM)
33+ ALT_GROUP_ID = com.rileytestut.AltStore.$(DEVELOPMENT_TEAM)
34+ GROUP_ID[config=Archive] = com.SideStore.SideStore
35+ ALT_GROUP_ID[config=Archive] = com.rileytestut.AltStore
36+
37+ EXTENSION_PREFIX = $(PRODUCT_BUNDLE_IDENTIFIER)
38+ ICLOUD_CONTAINER_IDENTIFIER = iCloud.$(ORG).$(PRODUCT_NAME)
39+
2140SWIFT_VERSION = 6.0
2241
2342SDKROOT = iphoneos
@@ -28,6 +47,7 @@ TARGETED_DEVICE_FAMILY = 1,2
2847GENERATE_INFOPLIST_FILE = YES
2948STRING_CATALOG_GENERATE_SYMBOLS = YES
3049SWIFT_EMIT_LOC_STRINGS = YES
50+ MERGED_BINARY_TYPE = automatic
3151
3252ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
3353ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor
@@ -44,24 +64,8 @@ INFOPLIST_KEY_UILaunchScreen_Generation = YES
4464INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES
4565INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES
4666
47- ORIENTATIONS = UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight
48- INFOPLIST_KEY_UISupportedInterfaceOrientations = $(ORIENTATIONS)
49- INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = $(ORIENTATIONS)
50- INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = $(ORIENTATIONS)
51-
52- ORG_PREFIX = $(ORG_IDENTIFIER)
53-
54- PRODUCT_NAME = SideBackup
55- INFOPLIST_FILE = SideBackup/Info.plist
56-
57- PRODUCT_BUNDLE_IDENTIFIER = $(ORG_IDENTIFIER).$(DEVELOPMENT_TEAM).$(PRODUCT_NAME)
58- PRODUCT_BUNDLE_IDENTIFIER[config=Archive] = $(ORG_IDENTIFIER).$(PRODUCT_NAME)
59-
60- GROUP_ID = $(ORG_IDENTIFIER).$(DEVELOPMENT_TEAM)
61-
62- EXTENSION_PREFIX = $(PRODUCT_BUNDLE_IDENTIFIER)
63- APP_GROUP_IDENTIFIER = $(GROUP_ID)
64- ICLOUD_CONTAINER_IDENTIFIER = iCloud.$(ORG_PREFIX).$(PRODUCT_NAME)
67+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = UIInterfaceOrientationPortrait
68+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight
6569
6670// Suppress noise from os activity in xcode console log for release builds
6771DEBUG_ACTIVITY_MODE = disable
0 commit comments