Leaves apps activated if there is no active app limit during migration

This commit is contained in:
Riley Testut
2020-04-01 13:05:31 -07:00
parent 664c31aba8
commit b8e1921b74
4 changed files with 29 additions and 6 deletions

View File

@@ -231,8 +231,7 @@ class AuthenticationOperation: ResultOperation<(ALTTeam, ALTCertificate, ALTAppl
let activeAppsMinimumVersion = OperatingSystemVersion(majorVersion: 13, minorVersion: 3, patchVersion: 1)
if team.type == .free, ProcessInfo.processInfo.isOperatingSystemAtLeast(activeAppsMinimumVersion)
{
// Free developer accounts are limited to only 3 active sideloaded apps at a time as of iOS 13.3.1.
UserDefaults.standard.activeAppsLimit = 3
UserDefaults.standard.activeAppsLimit = ALTActiveAppsLimit
}
else
{