我在向我的应用添加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
我尝试更改派生数据文件夹的路径,清除,删除然后重新添加扩展程序,但没有任何工作。
答案 0 :(得分:0)
答案 1 :(得分:0)
你用xcode或xcodebuild cli构建吗? 使用xcodebuild我得到几乎相同的错误。 但是当我用SYMROOT交换CONFIGURATION_BUILD_DIR时,错误消失了,我可以构建和存档。