问题一:将xcode升级到7,原来的cocos2dx app在真机上运行时会报以下错:
ld: '/Users/wangwei/Library/Developer/Xcode/DerivedData/BabyLearnABC_for_iOS-fhzxqebhivysqaershimicqluaym/Build/Products/Debug-iphoneos/libcocos2d iOS.a(ftbase.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
在”Build Settings”->All->Build Options(iOS)->”Enable Bitcode”选项中关闭bitcode功能即可。
问题二:用模拟器运行之前在cocos2d-x 3.6下创建的某个程序时提示:
The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)
但不影响模拟器的运行,只是每次都有这样的提示出现。用cocos2d-x 3.8.1新建项目,然后导入之前的项目,再次在模拟器上运行,此提示消失。