Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
723 views
in Technique[技术] by (71.8m points)

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...