The house of cards that is XCode has changed my project from iOS to OS X.
It doesn't appear to have anything to do with the Schema because I've deleted that. In the build settings, the architecture settings are drawing from "OS X Default".
How do I change it back?
I fixed one of my projects by restarting the machine. One is still incorrectly configured though.
Many answers elsewhere suggest overriding the settings inherited from "OS X Default", which you can see in the following screen shot. Ideally the base settings should be "iOS Default".
Check and set your base SDK to iOS. Go to Project (in upper left) -> Project (project name in submenu) -> Build Settings . In Architectures menu select Base SDK as one of the iOS SDK.
Also, you said you deleted your Xcode schemes. That may also cause this. Try this:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.