mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
attempt to fix long standing bug in bundle ids
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/SideStore/AltSign",
|
||||
"state" : {
|
||||
"branch" : "master",
|
||||
"revision" : "4323ff794e600ce1759cb6ea57275e13b7ea72f2"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -299,6 +299,19 @@ extension FetchProvisioningProfilesOperation
|
||||
}
|
||||
}
|
||||
}
|
||||
catch ALTAppleAPIError.bundleIdentifierUnavailable {
|
||||
ALTAppleAPI.shared.fetchAppIDs(for: team, session: session) {res, err in
|
||||
if let err = err {
|
||||
return completionHandler(.failure(err))
|
||||
}
|
||||
guard let res = res else {return completionHandler(.failure(ALTError(.unknown)))}
|
||||
for appid in res {
|
||||
if appid.bundleIdentifier == bundleIdentifier {
|
||||
completionHandler(.success(appid))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
completionHandler(.failure(error))
|
||||
|
||||
Reference in New Issue
Block a user