Xcode: No Scheme

前端 未结 19 2096
闹比i
闹比i 2020-12-02 07:28

I recently opened project in Xcode is now saying I have No Scheme: \"enter

<
相关标签:
19条回答
  • 2020-12-02 08:01

    This answer is for people who tried everything in the answers and still did not fix the issue:

    Your solution is git checkout mainline. Because you probably played around with xcodeproj file and its broken now..

    0 讨论(0)
  • 2020-12-02 08:02

    None of the above worked for me. My solution was to look at the project file differences in text mode and I found that VALID_ARCHS got reset in two places (VALID_ARCHS = ""). Restoring the proper settings for VALID_ARCHS, also restored back the Schemes.

    0 讨论(0)
  • 2020-12-02 08:03

    For me following worked
    Go to your Project Directory and right click on the

    .xcodeproj or .xcworkspace file and select Show Package Content

    and delete xcuserdata.
    don't forget to restart the Xcode

    • If it do not work and you have CocoPod in your project run the following Command

    Pod install

    0 讨论(0)
  • 2020-12-02 08:06

    For me, I switched to a different Macbook. Running pod update fixed everything for me.

    0 讨论(0)
  • 2020-12-02 08:07

    Use shortcut ctrl+cmd+[ or restart.

    0 讨论(0)
  • 2020-12-02 08:07

    If you change the Major Name Change off/in your project in the past and after that deleted the Xcode and its data, You will see this issue. When You will clone this project on other device.You will see same issue. To fix this, go to your pod file, update the target name and install the pods again.

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