Xcode 8 Messages Template Application: Error on iOS Simulator

后端 未结 4 996
甜味超标
甜味超标 2021-02-19 06:35

When I create a new project using the \"Messages Application\" template of Xcode 8 and try to run it on iOS simulator, I get the following error:

Title

相关标签:
4条回答
  • 2021-02-19 06:37

    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)

    0 讨论(0)
  • 2021-02-19 06:42

    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!

    0 讨论(0)
  • 2021-02-19 06:50

    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.

    0 讨论(0)
  • 2021-02-19 06:58

    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.

    0 讨论(0)
提交回复
热议问题