all to unavailable function system not available on ios 解决方法
2018-02-20 10:15
471 查看
一个cocos2d-x 3.3的项目,使用Xcode8.3.2正常编译。但是连接Xcode9 beta编译时报错:call to unavailable function system not available on ios
原因是iOS11已经将system删除,需要将报错的代码AssetsManager.cpp的第683行system(command.c_str()); 修改为:popen(command.c_str(), "r");
这样项目就可以正常编译了。Cocos2dx官网尚未给出解决方案,目前这个解决方案暂时还没发现问题。
原因是iOS11已经将system删除,需要将报错的代码AssetsManager.cpp的第683行system(command.c_str()); 修改为:popen(command.c_str(), "r");
这样项目就可以正常编译了。Cocos2dx官网尚未给出解决方案,目前这个解决方案暂时还没发现问题。
相关文章推荐
- call to unavailable function system not available on ios问题解决
- 解决Call to unavailable function 'system': not available on iOS
- Xcode9.0 编译时报错:Call to unavailable function 'system': not available on iOS
- cocos2d-x 3.3连接Xcode9编译时报错:call to unavailable function system not available on ios
- Call to unavailable function 'system': not available on iOS问题的解决方案
- call to unavailable function system not available on ios 解决方案
- Call to unavailable function 'system': not available on iOS问题的解决方案
- cocos2d-x 3.3连接Xcode9编译时报错:call to unavailable function system not available on ios
- xcode9 cocos call to unavailable function system not available on ios
- Call to unavailable function 'system': not available on iOS问题的解决方案
- Call to unavailable function 'system': not available on iOS
- Call to unavailable function 'system': not available on iOS问题的解决方案
- Xcode9.0 编译时报错:Call to unavailable function 'system': not available on iOS
- unavailable function 'system': not available on iOS
- unavailable function 'system': not available on iOS
- PHP Warning: strtotime() [function.strtotime]: It is not safe to rely on the system’s timezone settings. 解决方法:
- call to unavailable function system not available on io 4000 s
- iOS自动布局解决警告Automatic Preferred Max Layout Width is not available on iOS versions prior to 8.0
- It is not safe to rely on the system解决方法
- System services not available to Activities before onCreate()错误解决方法