编译"Objective-C基础教程" 工程时出错, SDK不匹配的解决办法
2012-10-29 10:29
525 查看
编译报错如下:
The run destination My Mac 64-bit is not valid for Running the scheme 'Hello Objective-C'.
这是因为没有安装源码工程中所使用的SDK(OS X 10.5)导致, 在工程选项中把Base SDK设置成你已安装的版本即可.
解决办法:
1) Click on the project icon in the left hand panel. 2) In the right hand panel that appears, select Build Settings » all. 3) You'll see the option
to change the SDK.
The run destination My Mac 64-bit is not valid for Running the scheme 'Hello Objective-C'.
这是因为没有安装源码工程中所使用的SDK(OS X 10.5)导致, 在工程选项中把Base SDK设置成你已安装的版本即可.
解决办法:
1) Click on the project icon in the left hand panel. 2) In the right hand panel that appears, select Build Settings » all. 3) You'll see the option
to change the SDK.
相关文章推荐
- keil新建工程及编译报错——invalid redeclaration of type name "s32" 的解决
- ADS1.2编译别人的工程出错解决办法
- MyEclipse生成javadoc时出错:编码GBK的不可映射字符"解决办法
- RETAILMSG 的定义与实现&Windows CE 6.0下dpCurSettings编译出错及解决办法
- struts2 form标签加上validate="true"就出错的解决办法
- "MyEclipse生成javadoc时出错:编码GBK的不可映射字符"解决办法
- Global symbol "" requires explicit package name at ""的perl程序编译出错的解决办法
- c++编译时提示"psapi.h"找不到的解决办法
- vc++6.0编译出错解决方法---"No such file or directory "
- VS2005.NET提示"试图运行项目时出错,无法启动调试,绑定句柄无效"解决办法
- 升级到xcode4.2 iOS sdk 5.0旧版工程编译后出现的警告解决办法
- VS 在编译时,提示"Files的值"+乱码情况解决办法
- ubuntu下编译报错"ld returned 1 exit status"的解决办法
- Asp.net出错提示"无法找到脚本"/aspnet_client/syste..."解决办法
- VS2010编译时拿老版本的代码运行,出现"source code is different..."解决办法
- 编译内核出错:invalid option `abi=aapcs-linux' 解决办法
- 为什么编译tiny工程出错,提示"不兼容的类型"
- 关于搭载新版本SDK后,导入以前的工程出现Unable to resolve target 'android-6'的解决办法
- 编译linux内核时出现"mkimage" command not found - U-Boot images will not be built错误的解决办法
- VS2005.NET提示"试图运行项目时出错,无法启动调试,绑定句柄无效"解决办法