如题,最近在熟悉creator,无奈不知道在mac环境下cretor都需要配置什么?本地已经安装了python2.7,xCode,还需要别的吗?
感谢您的回复,我在发帖子之前已经有看过,里面大部分都是在介绍Android和Windows的,对于Mac和iOS介绍及少,我现在在构建发布时,到编译的这一步骤总是失败,所以想知道需要配置其它环境吗?
你直接用 Xcode 打开工程,然后编译看看
感谢回复!在creator中构建成功了,可是编译的时候出错了,日志如下:
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
“vtable for std::basic_ios >”, referenced from:
mozToString(long long) in libjscocos2d iOS.a(Decimal.o)
mozToString(unsigned long long) in libjscocos2d iOS.a(Decimal.o)
mozToString(long long) in libjs_static.a(Decimal.o)
mozToString(unsigned long long) in libjs_static.a(Decimal.o)
mozToString(long long) in libjscocos2d iOS.a(Decimal.o)
mozToString(unsigned long long) in libjscocos2d iOS.a(Decimal.o)
mozToString(long long) in libjs_static.a(Decimal.o)
mozToString(unsigned long long) in libjs_static.a(Decimal.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing first 200 warnings only
** BUILD FAILED **
The following build commands failed:
Ld /Users/gg/Documents/xx/xx/build/jsb-default/publish/ios/xx.app/XX-mobile normal i386
(1 failure)
Build failed: Take a look at the output above for details.
感谢各位的回复,问题已经解决了,其实在mac下构建时,需要把build文件下之前构建的内容先清除,否则会进行合并,这就是出错的原因。
编译就报错,提示 xcode wasn’t installed
1、可能你没安装xcode
2、你的xcode没有放到应用程序里面
