torihiplay 2025-02-12 01:49 采纳率: 0%
浏览 65

Command PhaseScriptExecution failed with a nonzero exit code

chmod: /Users/vaunicacalji/Desktop/DinoKite/Il2CppOutputProject/IL2CPP/build/deploy_x86_64/bee_backend/mac-x86_64/bee_backend: No such file or directory
/Users/vaunicacalji/Desktop/DinoKite/Il2CppOutputProject/IL2CPP/build/deploy_x86_64/il2cpp --compile-cpp --platform=iOS --architecture=arm64 --outputpath=libGameAssembly.a --baselib-directory=/Users/vaunicacalji/Desktop/DinoKite/Libraries --additional-defines=IL2CPP_DEBUG=0 --incremental-g-c-time-slice=3 --configuration=Release --dotnetprofile=unityaot-macos --profiler-report --profiler-output-file=/Users/vaunicacalji/Library/Developer/Xcode/DerivedData/Unity-iPhone-dcpgtzfwhmzblcgtuuvhglnwhfwm/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/artifacts/profile.json --print-command-line --external-lib-il2-cpp=/Users/vaunicacalji/Desktop/DinoKite/Libraries/libil2cpp.a --data-folder=/Users/vaunicacalji/Desktop/DinoKiteIOS/Library/Bee/artifacts/iOS/il2cppOutput/data --generatedcppdir=Il2CppOutputProject/Source/il2cppOutput --architecture=arm64 --outputpath=/Users/vaunicacalji/Library/Developer/Xcode/DerivedData/Unity-iPhone-dcpgtzfwhmzblcgtuuvhglnwhfwm/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/libGameAssembly.a --cachedirectory=/Users/vaunicacalji/Library/Developer/Xcode/DerivedData/Unity-iPhone-dcpgtzfwhmzblcgtuuvhglnwhfwm/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/artifacts/arm64 --configuration=Release
Starting: /Users/vaunicacalji/Desktop/DinoKite/Il2CppOutputProject/IL2CPP/build/deploy_x86_64/bee_backend/mac-x64/bee_backend --profile="/Users/vaunicacalji/Library/Developer/Xcode/DerivedData/Unity-iPhone-dcpgtzfwhmzblcgtuuvhglnwhfwm/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/artifacts/arm64/buildstate/backend_profiler0.traceevents" --beedriver-listener --dagfile="/Users/vaunicacalji/Library/Developer/Xcode/DerivedData/Unity-iPhone-dcpgtzfwhmzblcgtuuvhglnwhfwm/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/artifacts/arm64/buildstate/bee.dag" --continue-on-failure FinalProgram
WorkingDir: /Users/vaunicacalji/Library/Developer/Xcode/DerivedData/Unity-iPhone-dcpgtzfwhmzblcgtuuvhglnwhfwm/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/artifacts/arm64/buildstate
ExitCode: 4 Duration: 0s29ms
ExitCode: 1 Duration: 0s3ms
Build failed with 0 successful nodes and 0 failed ones
Error: Internal build system error. BuildProgram exited with code 1.
Unity.IL2CPP.Bee.BuildLogic.ToolchainNotFoundException: IL2CPP C++ code builder is unable to build C++ code. In order to build C++ code for Mac, you must have Xcode installed.
Building for Apple Silicon requires Xcode 9.4 and Mac 10.12 SDK.

Xcode needs to be installed in the /Applications directory and have a name matching Xcode*.app. Or be selected using xcode-select.
It's also possible to use /Library/Developer/CommandLineTools if those match the listed requirements.

More information and installation instructions can be found here:
https://developer.apple.com/support/xcode/

Specific Xcode versions can be downloaded here:
https://developer.apple.com/download/more/

Unable to detect any compatible iPhoneOS SDK!

at Unity.IL2CPP.Bee.BuildLogic.iOS.iOSBuildLogic.GetCompatibleXcodeInstallation(Architecture architecture, Version xcodeMinVersion, Version platformSdkMinVersion, Identifier platformSdkIdentifier, XcodePlatformSdk& compatiblePlatformSdk, XcodeInstallation& compatibleXcodeInstallation)
at Unity.IL2CPP.Bee.BuildLogic.iOS.iOSBuildLogic.UserAvailableToolchainFor(Architecture architecture, NPath toolChainPath, NPath sysRootPath)
at Unity.IL2CPP.Bee.IL2CPPExeCompileCppBuildProgram.BuildProgram.Main(String[] args, String currentDirectory)
at Unity.IL2CPP.Building.InProcessBuildProgram.StartImpl(String workingDirectory, String[] arguments) in /Users/bokken/build/output/unity/il2cpp/Unity.IL2CPP.Building/InProcessBuildProgram.cs:line 51

Error: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones
Error: Internal build system error. BuildProgram exited with code 1.
Unity.IL2CPP.Bee.BuildLogic.ToolchainNotFoundException: IL2CPP C++ code builder is unable to build C++ code. In order to build C++ code for Mac, you must have Xcode installed.
Building for Apple Silicon requires Xcode 9.4 and Mac 10.12 SDK.

Xcode needs to be installed in the /Applications directory and have a name matching Xcode*.app. Or be selected using xcode-select.
It's also possible to use /Library/Developer/CommandLineTools if those match the listed requirements.

More information and installation instructions can be found here:
https://developer.apple.com/support/xcode/

Specific Xcode versions can be downloaded here:
https://developer.apple.com/download/more/

Unable to detect any compatible iPhoneOS SDK!

at Unity.IL2CPP.Bee.BuildLogic.iOS.iOSBuildLogic.GetCompatibleXcodeInstallation(Architecture architecture, Version xcodeMinVersion, Version platformSdkMinVersion, Identifier platformSdkIdentifier, XcodePlatformSdk& compatiblePlatformSdk, XcodeInstallation& compatibleXcodeInstallation)
at Unity.IL2CPP.Bee.BuildLogic.iOS.iOSBuildLogic.UserAvailableToolchainFor(Architecture architecture, NPath toolChainPath, NPath sysRootPath)
at Unity.IL2CPP.Bee.IL2CPPExeCompileCppBuildProgram.BuildProgram.Main(String[] args, String currentDirectory)
at Unity.IL2CPP.Building.InProcessBuildProgram.StartImpl(String workingDirectory, String[] arguments) in /Users/bokken/build/output/unity/il2cpp/Unity.IL2CPP.Building/InProcessBuildProgram.cs:line 51

at il2cpp.Program.DoRun(TinyProfiler2 tinyProfiler, String[] args, RuntimePlatform platform, Il2CppCommandLineArguments il2CppCommandLineArguments, BuildingOptions buildingOptions, Boolean throwExceptions) in /Users/bokken/build/output/unity/il2cpp/il2cpp/Program.cs:line 319
Command PhaseScriptExecution failed with a nonzero exit code

Command PhaseScriptExecution failed with a nonzero exit code

Build failed 2025/2/10, 11:31 27.3 seconds

  • 写回答

5条回答 默认 最新

  • IT工程师_二师兄 2025-02-12 08:11
    关注

    你复制到记事本发我

    评论

报告相同问题?

问题事件

  • 创建了问题 2月12日