mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 11:13:28 +01:00
Fix build errors
This commit is contained in:
@@ -335,13 +335,17 @@ extension FetchProvisioningProfilesOperation
|
|||||||
|
|
||||||
func updateFeatures(for appID: ALTAppID, app: ALTApplication, team: ALTTeam, session: ALTAppleAPISession, completionHandler: @escaping (Result<ALTAppID, Error>) -> Void)
|
func updateFeatures(for appID: ALTAppID, app: ALTApplication, team: ALTTeam, session: ALTAppleAPISession, completionHandler: @escaping (Result<ALTAppID, Error>) -> Void)
|
||||||
{
|
{
|
||||||
additionalEntitlements.merge([ALTEntitlement.increasedMemoryLimit : true])
|
|
||||||
var entitlements = app.entitlements
|
var entitlements = app.entitlements
|
||||||
for (key, value) in additionalEntitlements ?? [:]
|
for (key, value) in additionalEntitlements ?? [:]
|
||||||
{
|
{
|
||||||
entitlements[key] = value
|
entitlements[key] = value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (key, value) in [ALTEntitlement.increasedMemoryLimit : true]
|
||||||
|
{
|
||||||
|
entitlements[key] = value
|
||||||
|
}
|
||||||
|
|
||||||
let requiredFeatures = entitlements.compactMap { (entitlement, value) -> (ALTFeature, Any)? in
|
let requiredFeatures = entitlements.compactMap { (entitlement, value) -> (ALTFeature, Any)? in
|
||||||
guard let feature = ALTFeature(entitlement: entitlement) else { return nil }
|
guard let feature = ALTFeature(entitlement: entitlement) else { return nil }
|
||||||
return (feature, value)
|
return (feature, value)
|
||||||
|
|||||||
Reference in New Issue
Block a user