BinZone

运行程序报错

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)

 

分类:

技术点:

相关文章:

  • 2022-03-09
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
相关资源
相似解决方案