Xcode 8 Messages Template Application: Error on iOS Simulator

耗尽温柔 提交于 2019-12-03 23:22:19

You may want to check your scheme. The executable should be asked on launch (You want to select Messages app). Edit Scheme -> Info -> Executable -> Ask on launch (rather than MyApp.app)

This happened to me when I was using a beta of xcode 8.1. When I upgraded the app store version of xcode from 8.0 to 8.1 this problem disappeared (and it never happened with 8.0, just the 8.1 beta). Couldn't find a reference to a bug or a fix, but if you're not using the official app store version of xcode it might be worth double checking.

fzh

I met the same problem,then i fixed it by two steps:

  1. click the New Scheme, add a new scheme.

  2. click the Manage Schemes, and delete the old.

then (Although I don't know why) I can run my project!

I had the same issue because I had an empty environment variable set in my current scheme.

I deleted this empty environment variable and was then able to build correctly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!