升级以后,跑项目,报了如下的错误
Showing Recent Messages
:-1: Multiple commands produce '/Users/Admin/Library/Developer/Xcode/DerivedData/UniversalApp-agqgvsfsncufvjfgxpbofsiacwde/Build/Products/Debug-iphonesimulator/UniversalApp.app':
1) Target 'UniversalApp' has create directory command with output '/Users/Admin/Library/Developer/Xcode/DerivedData/UniversalApp-agqgvsfsncufvjfgxpbofsiacwde/Build/Products/Debug-iphonesimulator/UniversalApp.app'
2) That command depends on command in Target 'UniversalApp': script phase “[CP] Copy Pods Resources”
解决步骤:
Xcode-> File->Project/Workspace settings.
修改 the build system 为 Legacy Build system.
使用这种方法没有报这个错误了
报错001.png 报错002.png 报错003.png 报错004.png
Showing Recent Messages
:-1: Multiple commands produce '/Users/Admin/Library/Developer/Xcode/DerivedData/UniversalApp-agqgvsfsncufvjfgxpbofsiacwde/Build/Products/Debug-iphonesimulator/UniversalApp.app':
- Target 'UniversalApp' has create directory command with output '/Users/Admin/Library/Developer/Xcode/DerivedData/UniversalApp-agqgvsfsncufvjfgxpbofsiacwde/Build/Products/Debug-iphonesimulator/UniversalApp.app'
- That command depends on command in Target 'UniversalApp': script phase “[CP] Copy Pods Resources”
参考来自更新XCode10出现问题
网友评论