cannot be opened because there is no such file." - ERROR When I tried to run my project on my iPhone, I unexpectedly rec...">

"The file <APP_NAME.app> cannot be opened because there is no such file." - ERROR

Error message

When I tried to run my project on my iPhone, I unexpectedly received this error message: "The file cannot be opened because there is no such file." The code worked just a few minutes ago with the simulator.

I tried to try to clean the assembly, restart xcode, even the computer, but it will not go away. What could this message mean? And how to solve it?

+6
source share
2 answers

I have found a solution! Not elegant, but it works. I just renamed the application (clicked on the project name in the project navigation bar and changed the name), and the application came back to life!

+1
source

After you encountered the same problem that you could not solve by renaming the application, I created a new project in Xcode and imported all the files from the original project. The problem disappeared and the application worked.

0
source

Source: https://habr.com/ru/post/976010/


All Articles