cocos2d フレームワークを使用してモバイル ゲームを作成します。問題は、ios プラットフォームをコンパイルしようとすると、このエラーが発生することです。
In file included from /Users/MNurdin/Documents/Game/WTP/frameworks/js-bindings/bindings/manual/chipmunk/js_bindings_chipmunk_manual.cpp:26:
In file included from /Users/MNurdin/Documents/Game/WTP/frameworks/js-bindings/bindings/proj.ios_mac/../../cocos2d-x/extensions/cocos-ext.h:16:
In file included from /Users/MNurdin/Documents/Game/WTP/frameworks/js-bindings/bindings/proj.ios_mac/../../cocos2d-x/extensions/assets-manager/AssetsManager.h:32:
/Users/MNurdin/Documents/Game/WTP/frameworks/js-bindings/bindings/proj.ios_mac/../../cocos2d-x/extensions/assets-manager/Manifest.h:36:10: fatal error: 'json/document.h' file not found
#include "json/document.h"
このチュートリアルを AZ から正確に実行します。ターミナルでこのコマンドを実行して、プロジェクトをコンパイルします。
cocos compile -p ios
参考:http ://cocos2d-x.org/docs/manual/framework/html5/v2/cocos-console/en