Updates AltSign

This commit is contained in:
Riley Testut
2019-09-30 13:59:17 -07:00
parent fb054c440b
commit 1d740500f7
3 changed files with 3 additions and 3 deletions

View File

@@ -387,7 +387,7 @@ To prevent this from happening, feel free to try again with another Apple ID to
func updateFeatures(for appID: ALTAppID, app: ALTApplication, team: ALTTeam, completionHandler: @escaping (Result<ALTAppID, Error>) -> Void) func updateFeatures(for appID: ALTAppID, app: ALTApplication, team: ALTTeam, completionHandler: @escaping (Result<ALTAppID, Error>) -> Void)
{ {
let requiredFeatures = app.entitlements.compactMap { (entitlement, value) -> (ALTFeature, Any)? in let requiredFeatures = app.entitlements.compactMap { (entitlement, value) -> (ALTFeature, Any)? in
guard let feature = ALTFeature(entitlement) else { return nil } guard let feature = ALTFeature(entitlement: entitlement) else { return nil }
return (feature, value) return (feature, value)
} }

View File

@@ -252,7 +252,7 @@ private extension ResignAppOperation
func updateFeatures(for appID: ALTAppID, app: ALTApplication, team: ALTTeam, completionHandler: @escaping (Result<ALTAppID, Error>) -> Void) func updateFeatures(for appID: ALTAppID, app: ALTApplication, team: ALTTeam, completionHandler: @escaping (Result<ALTAppID, Error>) -> Void)
{ {
let requiredFeatures = app.entitlements.compactMap { (entitlement, value) -> (ALTFeature, Any)? in let requiredFeatures = app.entitlements.compactMap { (entitlement, value) -> (ALTFeature, Any)? in
guard let feature = ALTFeature(entitlement) else { return nil } guard let feature = ALTFeature(entitlement: entitlement) else { return nil }
return (feature, value) return (feature, value)
} }