Merge pull request #128 from Spidy123222/Fix/signing-bundleid

Fix Refreshing sidestore and staging error.
This commit is contained in:
Joe Mattiello
2022-11-18 21:25:42 -05:00
committed by GitHub
4 changed files with 7 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
#include "Build.xcconfig" #include "Build.xcconfig"
PRODUCT_BUNDLE_IDENTIFIER = $(ORG_PREFIX).AltStore PRODUCT_BUNDLE_IDENTIFIER = $(ORG_PREFIX).SideStore

View File

@@ -136,7 +136,7 @@ extension FetchProvisioningProfilesOperation
if app.isAltStoreApp if app.isAltStoreApp
{ {
// Use legacy bundle ID format for AltStore. // Use legacy bundle ID format for AltStore.
preferredBundleID = "com.\(team.identifier).\(app.bundleIdentifier)" preferredBundleID = teamsMatch ? installedApp.resignedBundleIdentifier : nil
} }
else else
{ {
@@ -181,7 +181,7 @@ extension FetchProvisioningProfilesOperation
if app.isAltStoreApp if app.isAltStoreApp
{ {
// Use legacy bundle ID format for AltStore (and its extensions). // Use legacy bundle ID format for AltStore (and its extensions).
updatedParentBundleID = "com.\(team.identifier).\(parentBundleID)" updatedParentBundleID = parentBundleID + "." + team.identifier // Append just team identifier to make it harder to track.
} }
else else
{ {

View File

@@ -6,7 +6,7 @@ CURRENT_PROJECT_VERSION = 3001
// Vars to be overwritten by `CodeSigning.xcconfig` if exists // Vars to be overwritten by `CodeSigning.xcconfig` if exists
DEVELOPMENT_TEAM = S32Z3HMYVQ DEVELOPMENT_TEAM = S32Z3HMYVQ
ORG_IDENTIFIER = com.joemattiello ORG_IDENTIFIER = com.SideStore
// Codesigning settings defined optionally, see `CodeSigning.xcconfig.example` // Codesigning settings defined optionally, see `CodeSigning.xcconfig.example`
#include? "CodeSigning.xcconfig" #include? "CodeSigning.xcconfig"
@@ -16,8 +16,8 @@ ORG_PREFIX = $(ORG_IDENTIFIER)
PRODUCT_NAME = SideStore PRODUCT_NAME = SideStore
//PRODUCT_NAME[configuration=Debug] = Prov Debug //PRODUCT_NAME[configuration=Debug] = Prov Debug
PRODUCT_BUNDLE_IDENTIFIER = $(ORG_PREFIX).$(PROJECT_NAME) PRODUCT_BUNDLE_IDENTIFIER = $(ORG_PREFIX).SideStore
//PRODUCT_BUNDLE_IDENTIFIER[configuration=Debug] = $(ORG_PREFIX).$(PROJECT_NAME:lower)-debug //PRODUCT_BUNDLE_IDENTIFIER[configuration=Debug] = $(ORG_PREFIX).$(PROJECT_NAME:lower)-debug
APP_GROUP_IDENTIFIER = $(ORG_PREFIX).$(PROJECT_NAME) APP_GROUP_IDENTIFIER = $(ORG_PREFIX).SideStore
ICLOUD_CONTAINER_IDENTIFIER = iCloud.$(ORG_PREFIX).$(PROJECT_NAME) ICLOUD_CONTAINER_IDENTIFIER = iCloud.$(ORG_PREFIX).$(PROJECT_NAME)

View File

@@ -53,7 +53,7 @@ public extension Bundle
public extension Bundle public extension Bundle
{ {
static var baseAltStoreAppGroupID = "group.com.rileytestut.AltStore" static var baseAltStoreAppGroupID = "group.com.SideStore.SideStore"
var appGroups: [String] { var appGroups: [String] {
return self.infoDictionary?[Bundle.Info.appGroups] as? [String] ?? [] return self.infoDictionary?[Bundle.Info.appGroups] as? [String] ?? []