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

后端 未结 25 1156
天涯浪人
天涯浪人 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条回答
  •  萌比男神i
    2020-12-01 01:10

    If you change the name of the supplied class InterfaceController set by default when you start a new project. This class is referenced in the Info.plist under the key RemoteInterfacePrincipalClass. In my case, I got the error mentioned by the OP until I fixed the name of the class in there (see screenshot).

    Info.plist: set principal class

提交回复
热议问题