Xcode: Could not locate installed application. Install claimed to have succeeded, but application could not be found on device

后端 未结 19 2043
执念已碎
执念已碎 2021-02-05 10:10

I manually deleted my app from the iPhone and now I get this error message when trying to run it again from Xcode.

I cleaned the build folder, restarted the device, Xcod

相关标签:
19条回答
  • 2021-02-05 10:51

    As for me, I added a custom key-value to Info.plist of main watchOS application file. That was wrong. After removing it, all works correctly. It seems this is not allowed but where is no other information about it.

    0 讨论(0)
  • 2021-02-05 10:53

    Go to settings on your phone and wipe out all certificates and apps and then install your app again. That helped me

    0 讨论(0)
  • 2021-02-05 10:55

    In my case, the problem was an embedded framework that was not being signed. In the General tab of the project settings, setting the embed setting to 'Embed & Sign' did the trick.

    0 讨论(0)
  • 2021-02-05 10:57

    As Marcin's answer suggested, I visited the phone console and in my case, it is this error message:

    -[MIFreeProfileValidatedAppTracker _onQueue_addReferenceForApplicationIdentifier:bundle:error:]: 182: This device has reached the maximum number of installed apps using a free developer profile: {(
    

    So if you are signing your app with a Personal Team certificate, make sure that you don't have more than 3 apps.

    Read more here: Why can I not install more than three apps?

    0 讨论(0)
  • 2021-02-05 10:58

    If you have other under-development apps installed, try uninstalling those you are not using, and run Xcode to install your app again. It works for me.

    0 讨论(0)
  • 2021-02-05 11:00

    Please double check the bundle ID of the installed application to see if it is re-applied, this will also cause this problem .I uninstall the app and solve the problem.

    0 讨论(0)
提交回复
热议问题