1、从网上下载一个程序,在编译时出现下面的错误:
The run destination My Mac 64-bit is not valid for Running the scheme 'MyTest'.
The scheme 'MyTest' 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.
解决方法是:在Build Setting中,将Base SDK,全部修改成iOS 5.1
如下图所示:
2、出现下面的错误:
StoryboardApp[8593:207] Failed to instantiate the default view controller for UIMainStoryboardFile 'MainStoryboard' - perhaps the designated entry point is not set?
这个问题的原因应该是在你的StoryBoard中没有一个view controller设置了Initial Scene。您需要选择一个view conroller作为story board的第一个界面: