mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-19 19:53:25 +01:00
attempt to fix long standing bug in bundle ids
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/SideStore/AltSign",
|
"location" : "https://github.com/SideStore/AltSign",
|
||||||
"state" : {
|
"state" : {
|
||||||
|
"branch" : "master",
|
||||||
"revision" : "4323ff794e600ce1759cb6ea57275e13b7ea72f2"
|
"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
|
catch
|
||||||
{
|
{
|
||||||
completionHandler(.failure(error))
|
completionHandler(.failure(error))
|
||||||
|
|||||||
Reference in New Issue
Block a user