小弟调调
小弟调调

Reputation: 1333

cocoa:Make sure your targets all specify SDKs that are supported by this version of Xcode

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.

enter image description here

Upvotes: 14

Views: 8021

Answers (3)

biaobiaoqi
biaobiaoqi

Reputation: 1098

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.

And then clean and build the application.

Upvotes: 27

Rajesh Loganathan
Rajesh Loganathan

Reputation: 11217

Try this simple one:

Target 
   '---> General 
             '---> Deployment Info  
                          '---> Deployment Target 
                                     '---> Choose Version (Better lower version)

Upvotes: 2

Muhammad Asad
Muhammad Asad

Reputation: 1013

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.

Upvotes: 0

Related Questions