Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cocos run -p mac出错,只能web,编译也是,平台只能web,其他都会报错 #20779

Open
phpmac opened this issue Jul 22, 2023 · 0 comments

Comments

@phpmac
Copy link

phpmac commented Jul 22, 2023


CompileC /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_network_auto.o /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/auto/jsb_cocos2dx_network_auto.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'libjscocos2d iOS' from project 'cocos2d_js_bindings')
    cd /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /var/folders/t_/w4fs4j1162g4jh0p13y3jzgw0000gn/C/com.apple.DeveloperTools/14.3.1-14E300c/Xcode/SDKStatCaches.noindex/iphonesimulator16.4-20E238-.sdkstatcache -target x86_64-apple-ios6.0-simulator -fmessage-length\=255 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -std\=c++11 -stdlib\=libc++ -Wno-trigraphs -fpascal-strings -O0 -Werror\=incompatible-pointer-types -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-non-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -DCOCOS2D_DEBUG\=1 -DUSE_FILE32API -DCC_ENABLE_CHIPMUNK_INTEGRATION\=1 -DCOCOS2D_JAVASCRIPT -DCC_TARGET_OS_IPHONE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Wno-invalid-offsetof -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -iquote /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/libjscocos2d\ iOS-generated-files.hmap -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/libjscocos2d\ iOS-own-target-headers.hmap -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/libjscocos2d\ iOS-all-target-headers.hmap -iquote /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/libjscocos2d\ iOS-project-headers.hmap -I/Users/a/Downloads/game2048/frameworks/cocos2d-x -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/base -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/3d -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/2d -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/physics3d -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/navmesh -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/platform -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/audio/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/editor-support -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/editor-support/cocosbuilder -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/editor-support/cocostudio -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/editor-support/spine -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/ui -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/storage -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/extensions -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/chipmunk/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/auto -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/bullet/include/bullet -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/bullet/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/spidermonkey/include/ios -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/platform/ios -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/plugin/protocols/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/curl/include/ios -I/Users/a/Downloads/game2048/simulator/ios/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/DerivedSources-normal/x86_64 -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/DerivedSources/x86_64 -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/DerivedSources -F/Users/a/Downloads/game2048/simulator/ios -MMD -MT dependencies -MF /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_network_auto.d --serialize-diagnostics /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_network_auto.dia -c /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/auto/jsb_cocos2dx_network_auto.cpp -o /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_network_auto.o

CompileC /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_navmesh_manual.o /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/navmesh/jsb_cocos2dx_navmesh_manual.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'libjscocos2d iOS' from project 'cocos2d_js_bindings')
    cd /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /var/folders/t_/w4fs4j1162g4jh0p13y3jzgw0000gn/C/com.apple.DeveloperTools/14.3.1-14E300c/Xcode/SDKStatCaches.noindex/iphonesimulator16.4-20E238-.sdkstatcache -target x86_64-apple-ios6.0-simulator -fmessage-length\=255 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -std\=c++11 -stdlib\=libc++ -Wno-trigraphs -fpascal-strings -O0 -Werror\=incompatible-pointer-types -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-non-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -DCOCOS2D_DEBUG\=1 -DUSE_FILE32API -DCC_ENABLE_CHIPMUNK_INTEGRATION\=1 -DCOCOS2D_JAVASCRIPT -DCC_TARGET_OS_IPHONE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Wno-invalid-offsetof -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -iquote /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/libjscocos2d\ iOS-generated-files.hmap -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/libjscocos2d\ iOS-own-target-headers.hmap -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/libjscocos2d\ iOS-all-target-headers.hmap -iquote /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/libjscocos2d\ iOS-project-headers.hmap -I/Users/a/Downloads/game2048/frameworks/cocos2d-x -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/base -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/3d -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/2d -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/physics3d -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/navmesh -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/platform -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/audio/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/editor-support -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/editor-support/cocosbuilder -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/editor-support/cocostudio -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/editor-support/spine -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/ui -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/storage -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/extensions -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/chipmunk/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/auto -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/bullet/include/bullet -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/bullet/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/spidermonkey/include/ios -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/platform/ios -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/plugin/protocols/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/external/curl/include/ios -I/Users/a/Downloads/game2048/simulator/ios/include -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/DerivedSources-normal/x86_64 -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/DerivedSources/x86_64 -I/Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/DerivedSources -F/Users/a/Downloads/game2048/simulator/ios -MMD -MT dependencies -MF /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_navmesh_manual.d --serialize-diagnostics /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_navmesh_manual.dia -c /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/navmesh/jsb_cocos2dx_navmesh_manual.cpp -o /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_navmesh_manual.o

/Users/a/Downloads/game2048/frameworks/cocos2d-x/build/cocos2d_libs.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'libcocos2d iOS' from project 'cocos2d_libs')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'game2048-mobile' from project 'game2048')
/Users/a/Downloads/game2048/frameworks/runtime-src/proj.ios_mac/game2048.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'game2048-mobile' from project 'game2048')
** BUILD FAILED **


The following build commands failed:
        CompileC /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_physics3d_manual.o /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/physics3d/jsb_cocos2dx_physics3d_manual.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'libjscocos2d iOS' from project 'cocos2d_js_bindings')
(1 failure)
执行命令出错,返回值:65。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant