gpt4 book ai didi

iOS 构建因 IOException 而失败

转载 作者:行者123 更新时间:2023-11-29 01:43:15 24 4
gpt4 key购买 nike

我从几天前开始使用 Unity,我想在 iPad 上运行我的游戏 SNAKE。但是在 iOS 构建中,我收到以下错误:

IOException: Failed to Copy File / Directory from 'Temp/StagingArea/Trampoline/Unity-iPhone.xcodeproj/project.pbxproj' to '/Users/markusunger/Desktop/Snake-iOS/Snake-iOS/Unity-iPhone.xcodeproj/project.pbxproj'.
UnityEditor.iOS.Utils.ReplaceFileOrDirectoryCopy (System.String src, System.String dst)
UnityEditor.iOS.PostProcessiPhonePlayer.UpdateInstallLocation (UnityEditor.iOS.ProjectPaths paths, ScriptingImplementation backend, BuildOptions options, UnityEditor.iOS.IncludedFileList includedFiles)
UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.iOSBuildPostprocessor pp, BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String stagingAreaDataManaged, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()

有什么想法吗?我在两个脚本后端都遇到了错误...

我有 Mac OS 10.10.5 和 xCode 版本 6.4 (6E35b)

感谢您的帮助!

最佳答案

我在两种情况下遇到了这个错误:

  • 我在构建过程中做了一个Append
  • 我的硬盘空间不足。

在 unity build 中使用 Replace 并在 HDD 中腾出一些空间,解决了我的问题。

关于iOS 构建因 IOException 而失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32196490/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com