Xcode: Could not locate installed application. Ins

2020-05-26 03:20发布

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, Xcode and the Mac, nothing helps.

I also tried everything that's mentioned here: Install claimed to have succeeded, but application could not be found on device

How do I force a re-installation?

标签: ios xcode
19条回答
Viruses.
2楼-- · 2020-05-26 03:51

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.

查看更多
淡お忘
3楼-- · 2020-05-26 03:52

Uninstall all the other apps that are under the same "Organization" or "Bundle Identifier" with your current app and try again.

It works for me. Hope it does for you too.

查看更多
不美不萌又怎样
4楼-- · 2020-05-26 03:52

On your iPhone go to Settings/General/Profiles & Devices/Apple Development: "YOUR APPLE ID" and delete all apps from there. It fixed the problem for me.

查看更多
唯我独甜
5楼-- · 2020-05-26 03:52

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

查看更多
霸刀☆藐视天下
6楼-- · 2020-05-26 03:54

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.

查看更多
太酷不给撩
7楼-- · 2020-05-26 03:55

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.

查看更多
登录 后发表回答