COCOS2D #error "Cannot recognize the target platform; are you targeting an unsupported platform?"
来源:互联网 发布:百度一下淘宝网首页 编辑:程序博客网 时间:2024/06/06 14:15
在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
- ASP.Net篇之QueryString与页面传值的总结
- SQL SERVER表之间导入数据
- ASIHttpRequest下载服务端的mp3...文件
- 单元板之间的差异 及 扫描方式的计算
- 在Android应用中实现查看“附近的人”的功能
- COCOS2D #error "Cannot recognize the target platform; are you targeting an unsupported platform?"
- STL中list的使用
- BZOJ 1901(Zju2112 Dynamic Rankings-区间第k大(修改,在线)-函数式线段树)
- STL之文件读写类fstream
- urllib模块
- 下一代Linux文件系统将如何发展?
- ubuntu如何修改文件夹的权限
- 有时候真怕,时间会说出真心话。
- 如何修改VC应用程序图标