cocoa:确保您的目标都指定了此版本 Xcode 支持的 SDK
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10273663/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
cocoa:Make sure your targets all specify SDKs that are supported by this version of Xcode
提问by u1334703
The scheme 'PrintingWebView' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.
方案“PrintingWebView”不包含可以为运行目标 My Mac 64 位支持的 SDK 构建的可构建对象。确保您的目标都指定了此版本 Xcode 支持的 SDK。
回答by biaobiaoqi
I've met with this problem. In my case, the following steps can solve it:
我遇到过这个问题。就我而言,以下步骤可以解决它:
your project -> target -> Build Setting
您的项目 -> 目标 -> 构建设置
Modify following items: 1.Base SDK ; 2.Architectures ; 3.iOS Deployment Target.
修改以下项目: 1.Base SDK ;2.建筑;3.iOS 部署目标。
And then clean and build the application.
然后清理并构建应用程序。
回答by Rajesh Loganathan
Try this simple one:
试试这个简单的:
Target
'---> General
'---> Deployment Info
'---> Deployment Target
'---> Choose Version (Better lower version)
回答by Mosib Asad
Above answer is right. I was doing one silly mistake, my application was specifically for iPad, and i was mistakenly trying to build on iPhone simulator, and got this error. Make sure, to deploy on relevant device as well.
楼上的回答是对的。我犯了一个愚蠢的错误,我的应用程序是专门为 iPad 设计的,我错误地尝试在 iPhone 模拟器上构建,并得到了这个错误。确保也部署在相关设备上。