[xcconfig]: move out PRODUCT_BUNDLE_IDENTIFIER[config=Debug] from build.xcconfig into CodeSigning template

This commit is contained in:
Magesh K
2024-12-24 18:00:17 +05:30
parent e3d0dac09a
commit 157bfed965
2 changed files with 7 additions and 5 deletions

View File

@@ -16,11 +16,8 @@ ORG_PREFIX = $(ORG_IDENTIFIER)
PRODUCT_NAME = SideStore
//PRODUCT_NAME[configuration=Debug] = Prov Debug
PRODUCT_BUNDLE_IDENTIFIER = $(ORG_PREFIX).SideStore
// add team ID to bundle ID for debug builds since these will most likely be installed via Xcode
// SideStore will expect the team ID to be at the end of the bundle ID, but this doesn't happen when we install via Xcode
// we don't want to do this for release since those builds will most likely be installed via SideServer, which adds the team ID
PRODUCT_BUNDLE_IDENTIFIER[config=Debug] = $(ORG_PREFIX).SideStore.$(DEVELOPMENT_TEAM)
PRODUCT_BUNDLE_IDENTIFIER[config=Debug] = $(ORG_PREFIX).SideStore$(DEBUG_BUNDLE_ID_SUFFIX)
PRODUCT_BUNDLE_IDENTIFIER[config=Release] = $(ORG_PREFIX).SideStore
EXTENSION_PREFIX = $(PRODUCT_BUNDLE_IDENTIFIER)
APP_GROUP_IDENTIFIER = $(PRODUCT_BUNDLE_IDENTIFIER)

View File

@@ -10,6 +10,11 @@ DEVELOPMENT_TEAM = XYZ0123456
// - com.myuniquename.provenance.topshelf
ORG_IDENTIFIER = com.myuniquename
// add team ID to bundle ID for debug builds since these will most likely be installed via Xcode
// SideStore will expect the team ID to be at the end of the bundle ID, but this doesn't happen when we install via Xcode
// we don't want to do this for release since those builds will most likely be installed via SideServer, which adds the team ID
DEBUG_BUNDLE_ID_SUFFIX = .$(DEVELOPMENT_TEAM)
// Set to YES if you have a valid paid Apple Developer account
DEVELOPER_ACCOUNT_PAID = NO