cocosCreator2.4.x 打包 ios ,xcode问题记录

Q:Uncaught ReferenceError: CC_PHYSICS_BUILTIN is not defined

A:先clean build folder....,然后重新build

cocosCreator2.4.x 打包 ios ,xcode问题记录_第1张图片

Q:xcode 使用模拟器预览 报错  In /Library/Developer/Xcode/DerivedData/hello_world-djnvsdcqyfoqvdepilidvunfunto/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftsystem.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/leiming/Library/Developer/Xcode/DerivedData/hello_world-djnvsdcqyfoqvdepilidvunfunto/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a' for architecture arm64

A:解决办法,排除 ios 模拟器使用arm64的cpu

cocosCreator2.4.x 打包 ios ,xcode问题记录_第2张图片

再次run 成功

cocosCreator2.4.x 打包 ios ,xcode问题记录_第3张图片

你可能感兴趣的:(ios,cocos,ios)