The operation couldn't be completed. (LaunchServicesError 0.) when compiling with Xcode

Asked 3 months ago, Updated 3 months ago, 7 views

The operation couldn't be completed. (LaunchServicesError 0.)

When I try to run the simulator, it comes out.
I tried rebooting the Mac, resetting and rebooting the simulator, rebooting the Xcode, and cleaning, but it didn't work.
It doesn't seem to be a compilation error.
I can't find a solution even if I look it up online.

If you understand, please let me know.

Thank you for your cooperation.

ios swift xcode

2022-09-30 14:18

2 Answers

From Comments
Xcode 6.2 watchkit sample app doesn't start. "The operation couldn't be completed. (LaunchServicesError0.) to verify bundle identifier.Because it was a keyboard extension, the name was unusual.Corrected and worked.Thank you.

2022-09-30 14:18

The WatchKit Extension experienced the same symptom (xcode 7.2).
Host and Watch Extension identifier teams were different.
It seems that the identifier needs to be aligned with the extension.

2022-09-30 14:18

If you have any answers or tips

© 2023 OneMinuteCode. All rights reserved.