gpt4 book ai didi

ios - 构建失败 : error: make directory File exists

转载 作者:可可西里 更新时间:2023-11-01 03:36:14 25 4
gpt4 key购买 nike

我在应用商店中有一个应用,并且已经构建和发布了多个更新,没有出现问题。我正在进行重大更新,但出现了一个重大错误,我已经谷歌搜索了一个多星期了。

我可以为模拟器构建应用程序,但是当我尝试为 iOS 设备(例如插入我的 iPhone 6)或存档(以便我可以通过 TestFlight 分发)构建应用程序时,我每次都会遇到相同的错误.完整错误贴在下方。

我尝试过的事情:

  • 清理项目
  • 重新启动 xCode
  • 重新启动我的 Mac - 删除派生数据文件夹
  • 更新 xCode
  • 删除并重新安装 xCode

实际收到的错误是:

CpResource Libraries/AppIRater/en.lproj /Users/terrencewilliams/Library/Developer/Xcode/DerivedData/SMBox-gbfftxbyzlmadeazsrisoquokaxr/Build/Intermediates/ArchiveIntermediates/SMBox/InstallationBuildProductsLocation/Applications/SMBox.app/en.lproj cd "/Users/terrencewilliams/Desktop/APP/SMBox/APP Builds - v.2.0/SMBox2 4" export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /Users/terrencewilliams/Desktop/APP/SMBox/APP\ Builds\ -\ v.2.0/SMBox2\ 4/Libraries/AppIRater/en.lproj /Users/terrencewilliams/Library/Developer/Xcode/DerivedData/SMBox-gbfftxbyzlmadeazsrisoquokaxr/Build/Intermediates/ArchiveIntermediates/SMBox/InstallationBuildProductsLocation/Applications/SMBox.app

error: make directory /Users/terrencewilliams/Library/Developer/Xcode/DerivedData/SMBox-gbfftxbyzlmadeazsrisoquokaxr/Build/Intermediates/ArchiveIntermediates/SMBox/InstallationBuildProductsLocation/Applications/SMBox.app/en.lproj: File exists

我真的需要滚动更新,但似乎无法真正构建它。谁能告诉我是否有一些我看不到的与派生数据文件夹相关的根本原因?

最佳答案

我通过从我的项目中删除从其他来源添加的重复包解决了这个问题。查找 en.lproj 的副本并将其删除,这可能会解决您的问题。

关于ios - 构建失败 : error: make directory File exists,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27085003/

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