簡體   English   中英

Xcode導出的數據路徑錯誤

[英]Xcode derived data path error

在我的應用程序中添加WatchKit擴展程序后出現此錯誤:

PBXCp DerivedData/App/Build/Products/Debug-watchsimulator/appwatch.app DerivedData/App/Build/Products/Debug/App.app/Watch/appwatch.app
    cd /Users/User/Documents/App-watchapp
    export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/User/Documents/App-watchapp/DerivedData/App/Build/Products/Debug-watchsimulator/appwatch.app /Users/User/Documents/App-watchapp/DerivedData/App/Build/Products/Debug/App.app/Watch

error: /Users/User/Documents/App-watchapp/DerivedData/App/Build/Products/Debug-watchsimulator/appwatch.app: No such file or directory

我已經嘗試更改派生數據文件夾的路徑,清理,刪除然后重新添加擴展,沒有任何工作。

  1. 轉到窗口>項目。
  2. 刪除導致此錯誤的項目的派生數據。
  3. 清潔。
  4. 嘗試再次運行該項目。

你用xcode或xcodebuild cli構建嗎? 使用xcodebuild我得到幾乎相同的錯誤。 但是當我用SYMROOT交換CONFIGURATION_BUILD_DIR時,錯誤就消失了,我可以構建和存檔。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM