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

Heshara Aluthge  picture Heshara Aluthge · May 22, 2020 · Viewed 13.8k times · Source

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

Answer

Artur Peplinski picture Artur Peplinski · May 23, 2020

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.