From 915eed3a697dc9fe921b8532ba254c5ef2b7068d Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Thu, 3 Dec 2020 15:05:17 -0600 Subject: [PATCH] [AltServer] Prefers paid developer teams over free teams --- AltServer/Devices/ALTDeviceManager+Installation.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AltServer/Devices/ALTDeviceManager+Installation.swift b/AltServer/Devices/ALTDeviceManager+Installation.swift index 74854dc1..4db8697d 100644 --- a/AltServer/Devices/ALTDeviceManager+Installation.swift +++ b/AltServer/Devices/ALTDeviceManager+Installation.swift @@ -239,11 +239,11 @@ private extension ALTDeviceManager { let teams = try Result(teams, error).get() - if let team = teams.first(where: { $0.type == .free }) + if let team = teams.first(where: { $0.type == .individual }) { return completionHandler(.success(team)) } - else if let team = teams.first(where: { $0.type == .individual }) + else if let team = teams.first(where: { $0.type == .free }) { return completionHandler(.success(team)) }