Xcode could not locate the installed application
Asked Answered
S

6

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.

Standardize answered 27/9, 2019 at 14:45 Comment(9)
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?Mildew
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.Standardize
Please, try this solution: https://mcmap.net/q/510101/-xcode-11-crashing-on-iphone-13-1-app-runningSharenshargel
@Sharenshargel thanks but it's not working for meStandardize
Hi! I know it might sound silly, but have you tried to restart the devices?Aldrin
@summerfinn3 thanks, but I already tried these all solutions. Even I did reset one of device.Standardize
I solved this by changing my bundle identifier and changing the bundle identifier of all embedded binaries to match.Wolter
@Wolter 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.Standardize
- In my case, I have selected the AppStore provision profile. I changed to development and it works.Lax
A
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

Apodal answered 24/10, 2019 at 19:56 Comment(0)
S
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.

Standardize answered 19/10, 2019 at 17:37 Comment(0)
B
2

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

Bloodletting answered 22/10, 2019 at 15:26 Comment(0)
O
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-

Openhearth answered 9/10, 2019 at 16:26 Comment(0)
G
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://mcmap.net/q/240211/-install-claimed-to-have-succeeded-but-application-could-not-be-found-on-device

Garnishment answered 11/11, 2019 at 3:10 Comment(0)
M
0

In my case below steps helped

  1. Make sure that you are not trimming any linked framework using lipo command
Metry answered 15/1, 2020 at 7:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.