简体   繁体   中英

AssetsManager.cpp - Call to unavailable function 'system': not available on iOS

When I run a cocos2dx game in Xcode 9.1, I get the following error:

game/cocos2d/extensions/assets-manager/AssetsManager.cpp:660:5: Call to unavailable function 'system': not available on iOS

Version used: cocos2d-x-3.2 Jul.17 2014

In code, this line throws the error:

  system(command.c_str()); 

How to resolve this issue, since "system" is removed from iOS 11???

Xcode错误

This is a known issue, according to this github issue for Cocos2d. It appears to be resolved, I'd dig around there to solve this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM