.cpp
-
include follow
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
#include “AppController.h”
#endif -
build error, because iOS ‘Point’ type is the same as cocos2d-x 3.0 alpha ‘Point’
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include/MacTypes.h:534:9: Reference to ‘Point’ is ambiguous
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:377:43: Unknown type name ‘NSString’