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

折月煮酒 提交于 2020-06-22 11:44:05

问题


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


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/61953293/the-maximum-number-of-apps-for-free-development-profiles-has-been-reached-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!