[英]iOS project has changed to OS X project
The house of cards that is XCode has changed my project from iOS to OS X. XCode纸牌屋将我的项目从iOS更改为OSX。
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".
在构建设置中,体系结构设置是从“ 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. 其他地方的许多答案都建议覆盖从“ OS X Default”继承的设置,您可以在以下屏幕截图中看到。 Ideally the base settings should be "iOS Default".
理想情况下,基本设置应为“ iOS默认”。
Check and set your base SDK to iOS. 检查并将基本SDK设置为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.
在“体系结构”菜单中,选择“基本SDK”作为iOS SDK之一。
Also, you said you deleted your Xcode schemes. 另外,您说您删除了Xcode方案。 That may also cause this.
这也可能导致这种情况。 Try this:
尝试这个:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.