From 17be52c7b6b6215cdc3d0cdb2c9208b1c51ac3da Mon Sep 17 00:00:00 2001 From: Spidy123222 <64176728+Spidy123222@users.noreply.github.com> Date: Thu, 17 Nov 2022 18:16:21 -0800 Subject: [PATCH] Fix refreshing to use normal bundleid Signed-off-by: Spidy123222 <64176728+Spidy123222@users.noreply.github.com> --- AltStore/Operations/FetchProvisioningProfilesOperation.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AltStore/Operations/FetchProvisioningProfilesOperation.swift b/AltStore/Operations/FetchProvisioningProfilesOperation.swift index d4f9bd8e..d2ce34d5 100644 --- a/AltStore/Operations/FetchProvisioningProfilesOperation.swift +++ b/AltStore/Operations/FetchProvisioningProfilesOperation.swift @@ -136,7 +136,7 @@ extension FetchProvisioningProfilesOperation if app.isAltStoreApp { // Use legacy bundle ID format for AltStore. - preferredBundleID = "com.\(team.identifier).\(app.bundleIdentifier)" + preferredBundleID = teamsMatch ? installedApp.resignedBundleIdentifier : nil } else { @@ -181,7 +181,7 @@ extension FetchProvisioningProfilesOperation if app.isAltStoreApp { // 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 {