DerivedData/xxx-fxhqtzymbwegttddoznsqpakmlvp/Build/Products/Debug-iphonesimulator/xxx.app/xxx

来源:互联网 发布:海康网络球机接线方法 编辑:程序博客网 时间:2024/06/14 04:16
运行程序报错

ld: file not found: ~/Library/Developer/Xcode/DerivedData/xxx-fxhqtzymbwegttddoznsqpakmlvp/Build/Products/Debug-iphonesimulator/xxx.app/xxx

clang: error: linker command failed with exit code 1 (use -v to see invocation)


clean 项目后  删除DerivedData后 重启Xcode不起作用


2种解决办法

1)左击工程文件:

选择Edit Scheme

把红色圈住的去掉就ok了

2)Proj->BuildingSetting-搜应用名 ->Product Name更改为和 Executable file一致(proj->info->Executable file




0 0