I recently opened project in Xcode is now saying I have No Scheme
:
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..
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.
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
Pod install
For me, I switched to a different Macbook. Running pod update
fixed everything for me.
Use shortcut ctrl+cmd+[ or restart.
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.