14

In XCode 11 when I trying to run the app xcode showing installation successful but a alert appears with message "Could not locate installed application Install claimed to have succeeded, but application could not be found on device. bundleId = com.xxx.xxx "

I tried all solution given here and here

But these solutions didn't work for me. Please help me regarding this.

  • Could you please provide more info? For example, what kind of an app (iOS? macOS?) What is your destination? (Mac? iPhone? iPad? Simulator?) what is the target OS version? Anything else specific to the project worth knowing? Does it happen on a freshly created new project? – Can Poyrazoğlu Oct 03 '19 at 15:11
  • I have faced this issue in my iOS app in iphone 6 to iPhone XS Max (all device in this range) and in ipad pro. The code was working fine with xcode 10.3 but when I updated my xcode to 11 then this problem occurs and now I facing this issue in both xcode in 11 and in 10.3. and yes I have paid developer account. – Deepak Kharpodiya Oct 03 '19 at 17:06
  • Please, try this solution: https://stackoverflow.com/a/58117854/3241041 – alxlives Oct 04 '19 at 21:40
  • @alxlives thanks but it's not working for me – Deepak Kharpodiya Oct 05 '19 at 17:26
  • Hi! I know it might sound silly, but have you tried to restart the devices? – Marina Aguilar Oct 07 '19 at 17:55
  • @summerfinn3 thanks, but I already tried these all solutions. Even I did reset one of device. – Deepak Kharpodiya Oct 07 '19 at 17:59
  • I solved this by changing my bundle identifier _and_ changing the bundle identifier of all embedded binaries to match. – matt Oct 19 '19 at 17:17
  • @matt the only solution that I have found is only by changing the bundle identifier. But I haven't found what is wrong with the previous identifier even when I used that in xcode 10 and it was working fine. – Deepak Kharpodiya Oct 19 '19 at 17:34
  • - In my case, I have selected the AppStore provision profile. I changed to development and it works. – Ilesh P Jul 08 '20 at 14:51

6 Answers6

7

This popped up for me. I was able too solve the problem by selecting "Automatically manage signing" on the Signing and Capabilities tab of the Project's application target configuration panels.

Project Property Pane Screenshot

Interestingly, I was able to then change it back and it installed, ran and debugged properly. Go figure

levous
  • 902
  • 7
  • 13
2

The only solution I've found is by simply changing the bundle identifier. But I could not find what is wrong with the previous identifier while I used it in xcode 10 as well and it was working fine.

2

Run you code in debug mode instead release mode. you can change to debug mode from edit scheme.

Vikesh Prasad
  • 779
  • 7
  • 13
0

I think your problem is that the debugger cannot attach to your process after it is launched, try to enable the verbose of the debugger like explained HERE and see if it show some error.

L-

Legion
  • 760
  • 6
  • 23
0

i my case, i go to Product -> Schema -> Edit Schema

go to Build Tab on the left, uncheck everything on {projectName}Tests

Close

then run on device Again.

the other solution that work with me is https://stackoverflow.com/a/58689652/4289609

igniz87
  • 164
  • 1
  • 13
0

In my case below steps helped

  1. Make sure that you are not trimming any linked framework using lipo command
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256