COCOS2D #error "Cannot recognize the target platform; are you targeting an unsupported platform?"
来源:互联网 发布:windows asp.net 编辑:程序博客网 时间:2024/06/05 03:26
在mac下面 出现了 #error "Cannot recognize the target platform; are you targeting an unsupported platform?" 的错误信息,该如何解决呢?
首先我们分析问题的原因,翻译为中文大意就是 系统没有找到对应的平台信息。
在xcode里面的解决办法是:
找到
点击自己的project,然后选择build Settings
找到 Apple LLVM compiler 4.2 - preprocessing
找到 preprocessor Macros 下面的debug
点击右边的debug 弹出一个框
在里面一定要写上CC_TARGET_OS_IPHONE
就可以了
- COCOS2D #error "Cannot recognize the target platform; are you targeting an unsupported platform?"
- COCOS2D #error "Cannot recognize the target platform; are you targeting an unsupported platform?"
- Coco2d-x:Cannot recognize the target platform; are you targeting an unsupported platform?
- 关于Error: ARCH: Unsupported platform.
- You are not using the latest Platform SDK header/library
- Error:Android Source Generator: Cannot parse SDK Android API 4 Platform: build target is not specifi
- How to share text to Message in the app you are building(iOS platform)
- you are using an old unsupported version of gradle 1.9
- You are attempting to build with an unsupported JDK.
- error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found
- error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be fou
- The current type is an interface and cannot be constructed. Are you missing a type mapping?
- FTP PLATFORM TARGET SETUP
- Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy...
- You are trying to load data from a www stream which had the following error,Unsupported protocol
- 编译时,遇到Couldn't build player because of unsupported data on target platform的解决方案
- Cannot open platform.bib
- platform
- 如何使自己变得优雅
- HDFS datanode源码分析
- TCP/IP笔记 四.应用层(1)——DNS
- jQuery插件开发全解析
- Python 入门教程 4 ---- Date and Time
- COCOS2D #error "Cannot recognize the target platform; are you targeting an unsupported platform?"
- 单高斯背景建模
- JDBC连接常用数据库 基本的CURD
- 一些UINavigationController 跳转的神奇效果
- 为程序员量身定制的12个目标
- phpMyAdmin 尝试连接到 MySQL 服务器,但服务器拒绝连接。
- 0916
- MySql 的批量操作,要加rewriteBatchedStatements参数
- Belief propagation