Fix build errors

This commit is contained in:
June
2024-12-28 10:02:24 +09:00
parent 9a598f701a
commit 1cc0b11aa6

View File

@@ -335,13 +335,17 @@ extension FetchProvisioningProfilesOperation
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
for (key, value) in additionalEntitlements ?? [:]
{
entitlements[key] = value
}
for (key, value) in [ALTEntitlement.increasedMemoryLimit : true]
{
entitlements[key] = value
}
let requiredFeatures = entitlements.compactMap { (entitlement, value) -> (ALTFeature, Any)? in
guard let feature = ALTFeature(entitlement: entitlement) else { return nil }
return (feature, value)