1

When I run the project and add the app in simulator for the first time, everything is okay. But when I run it again, Xcode prompts this message as a pop-up window at the end of compilation:

This app could not be installed at this time.

I already checked the relevant question, and tried all the advised ways to solve this issue; checking mentioned logs, cleaning project, restarting simulator, changing it, erasing all content and settings in it. Nothing works. I must erase the app and recompile it every time to open the app. Did you get the same message before? Is there any way to detect problem and resolve it? Btw, I use Xcode 9.2 at High Sierra.

Dorukhan Arslan
  • 2,676
  • 2
  • 24
  • 42
  • If you're ok, post the project here to check if there's any problem with the project. – ZameerMoh Dec 21 '17 at 11:55
  • It's commercial. Also I believe it's not about internal settings of the project, some other people work on it without any problem. It's probably something about macOS or Xcode version. – Dorukhan Arslan Dec 21 '17 at 11:56
  • Did you try a device? – ZameerMoh Dec 21 '17 at 11:58
  • Nope but my purpose is using currently available simulators without seeing this message. – Dorukhan Arslan Dec 21 '17 at 12:00
  • Seems to be a problem with info.plist, Have you checked everything there, no invalid values? – ZameerMoh Dec 21 '17 at 12:05
  • No clues, no witnesses, no nothing. – Dorukhan Arslan Dec 21 '17 at 15:56
  • I just got this error message too. If I delete the app from the simulator and then everything works fine. Did not change anything in my project except add localisation. And all of a sudden it popped up. Did you find a solution? – Joseph Jan 04 '18 at 20:16
  • Same here. I didn't change anything but it began to be popped up for some unknown reason. I couldn't find a solution yet. When I figure out it, I'll add an answer. – Dorukhan Arslan Jan 05 '18 at 07:03
  • The same problem [enter link description here](https://stackoverflow.com/questions/47760643/xcode-this-app-could-not-be-installed-at-this-time) – stack Stevn Aug 22 '18 at 05:59

3 Answers3

1

This error pop-up may come up for different reasons. There is no specific reason to see it for now. In my case, a JSON file that I added to Bundle in order to provide mock data triggered this issue. This file was containing a Turkish letter in one of the keys. After I fix it, the pop-up is gone. Interestingly, earlier simulators (<=9.1) work properly if JSON file contains Turkish letter but 9.2 simulators cannot tolerate it.

Dorukhan Arslan
  • 2,676
  • 2
  • 24
  • 42
  • This is the case for me too. How can I workaround this keeping letter ı in app display name? Curently I delete app in simulator before each run. – samir105 Apr 30 '20 at 07:38
1

Worked for me when I rebuild the project after deleting the derived data folder.

rustylepord
  • 5,681
  • 6
  • 36
  • 49
0

I think I may have found a solution. This all started a short time after I let Xcode update my project settings. Specifically on my CocoaPod-Subproject. I removed the pods and reinstalled them and now I am no longer getting the pop-up.

Joseph
  • 9,171
  • 8
  • 41
  • 67
  • Sorry for this late response. Probably, the reason of my issue wasn't same with yours. As a workaround, I run the app on earlier simulators. It seems like this one is a version 11.2-specific problem. – Dorukhan Arslan Jan 15 '18 at 06:45