Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError, Code = 0)

后端 未结 25 1125
天涯浪人
天涯浪人 2020-12-01 00:39

After successfully compiling the project in Xcode 6, I am unable to run it in the simulator with the above mentioned message. I did all the possible research, tried everythi

25条回答
  •  抹茶落季
    2020-12-01 01:04

    I tried every other solution listed here. Well, I ported my project from Swift 1.2 to Swift 2.0. The application was stuck even after a lot debugging and launch services error 0 was reported.

    solution: It happens because of framework compilation.

    App target -> Build Phases -> Embed Frameworks.

    So mark copy only when installing on. Clean the project and run it!

提交回复
热议问题