The maximum number of apps for free development profiles has been reached. Xcode 11.5
Asked Answered
M

4

33

I updated Xcode to 11.5 from 11.4 soon after the update I'm unable to run the apps on my physical device which is also currently running the latest IOS 13.5. When I try running the app an error shows up saying "-402620383--The maximum number of apps for free development profiles has been reached." even though I have no apps running on my phone.

So far I've tried,

  • Clearing all the provisioning profiles from, Window >> Devices and simulator >> Right clicking on the device.
  • Unpairing iPhone from the computer and re-pairing it.
  • Removing my free developer account from Xcode and logging back.
  • Restarting my computer
  • Cleaned the project

Cleared all apps in iPhone

Cleared all provisioning profiles from the iPhone

Malvaceous answered 22/5, 2020 at 10:49 Comment(3)
Does this help? apple.stackexchange.com/questions/242678/…Hyacinthia
Tried, it doesn't workMalvaceous
I had this problem, but there was no results for MIFreeProfileValidatedAppTracker. However, this was because one of the answers at the link above at Ask Different was my problem.Rosado
M
84

I had the same exact issue, even though I uninstalled all apps installed through Xcode. I found out that after updating to Xcode 11.5 and iOS 13.5, some of the other apps (not developed by me) are counted toward the limit.

Open Console app on Macbook and catch logs while trying to install an app from Xcode. Under Devices on the left > Choose your iPhone device > Then search for MIFreeProfileValidatedAppTracker and something like:

[MIFreeProfileValidatedAppTracker _onQueue_addReferenceForApplicationIdentifier:bundle:error:]: 182: This device has reached the maximum number of installed apps using a free developer profile: {(
    "<bundleid>",
    "<bundleid>",
    "<bundleid>"
)}

Instead of <bundleid> there are gonna be concrete ids that are counted toward free app limit. I found out, which app are those, deleted them and everything worked like a charm after that.

Melar answered 23/5, 2020 at 20:20 Comment(7)
GOD BLESS YOU! This fixed it! Turns out that all "offloaded" apps were counted as "free developer profile apps" including: Voice Memos, Google Docs, and Shortcuts. Once I deleted or reinstalled, it worked!Makassar
Thank you so much! I spent 24 hours looking for a fix on this! I can finally go to sleep!Antlia
this bug is just ridiculous.Mefford
I cringe with this bug.Stygian
How is this done: "Open Console app on Macbook and catch logs" ?Selfassured
Apple is now more than a trillion dollar company. This is the kind of rookie mistake I'd make in my code.Atencio
@HlawulekaMAS Press cmd + space and type in console.appLatterday
W
37

This is not a bug. Apple restricts free developer accounts, permitting the installation of only three apps on a device.

An easier way is to delete apps through the Xcode devices window, instead of searching through the log file. In Xcode 13.1, the devices window is accessible from the Window > Devices and Simulators menu item, or by using the shift + command + 2 keyboard shortcut.

Devices window

Use the delete button to remove apps under the same account.

When targeting devices running iOS 13.3.1, tvOS 13.3.1, watchOS 6.1, or later using a free Apple Developer account, app extensions incorrectly count against the limit of three apps installed simultaneously. When this happens, Xcode reports an error: “The maximum number of apps for free development profiles has been reached.” (59264389) (FB7568073)

Workaround: Delete apps signed with your free account from your device and also remove any associated provisioning profiles from the device using Xcode’s Devices window. If your app contains more than two app extensions, remove them to remain under the three app limit.

https://developer.apple.com/documentation/xcode-release-notes/xcode-11_4-release-notes

Wisdom answered 19/8, 2020 at 17:28 Comment(0)
P
21

In Addition to Artur Peplinski answer, all apps effected are offloaded apps. Apple include a feature on iOS 11 that automatically offload unused app after 14 days. You can disable this feature in the iOS settings. If you load them again or delete them, it works

Paranymph answered 26/5, 2020 at 11:11 Comment(4)
I have soooooo many apps 😭😭😭😭😭😭, this will take foreverDionnedionysia
@frazras, yeah me too, this bug is very annoyingAdonic
I updated my Xcode to 11.6 and the problem still happens. 😓Cody
Offloaded apps can be removed without necessity to download them before it (long tap doesn't show "Remove app" button for them). Just enter edit screen mode (long tap on any app and try to move it on screen to make cross in top-left corner appear). It helped me to remove more than 150 offloaded apps in few minutes.Osber
M
1

If you are in the Apple Developer Program but still have this issue, try this:

1

Go to Xcode preferences

2

Navigate to 'Accounts'

3

Open 'Manage Certificates'

4

Add this certificate

Masterstroke answered 15/3, 2021 at 12:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.