file not found: /Users/hx/Library/Developer/Xcode/DerivedData/Build/Products/...
来源:互联网 发布:紫色水离子淘宝店 编辑:程序博客网 时间:2024/05/17 01:27
由于一个工程里有两个target,暂且称为target A和target B 吧!在更改了工程名后,在模拟器中运行时就报以下错误:
ld: file not found: /Users/hx/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/YQ_HX.app/YQ_HX
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Build Setting----》Product Name---
但我检查我的工程发现,项目名没问题。然后继续找解决方案...
下面又是另一种解决方案:
Xcode/Build Settings/Packaging/Private Headers Folder Path路径和Product Module Name 下的名字改为你的项目名称就可以了
检查工程后我发现,我的这个也是没错的。继续找解决方案...
经过几番曲折,然后发现是由于工程中的target A和target B管理混乱的问题。按下面路径
Product —> Scheme —> Manage Schemes...
打开schemes管理面板,然后删除该删除的,关联该关联的,问题就解决了。
你的问题也许前两种方案就能帮助你解决,我的是一个工程在更改了工程名后target A和target B管理出现了问题,如果你的也是一个工程多个target下出现了我所说的问题,耐心看完也许会帮到你解决问题。
0 0
- file not found: /Users/hx/Library/Developer/Xcode/DerivedData/Build/Products/...
- file not found: /Users/***/Library/Developer/Xcode/DerivedData/***-febavuacartc/Build/Products/Debug
- ld:file not found: /Users/hx/Library/Developer/Xcode/DerivedDat
- ld: file not found: /Users/chenweidong/Library/Developer/Xcode/DerivedData/.......
- ld: file not found: /Users/chenweidong/Library/Developer/Xcode/DerivedData/.......
- file not found: /Users/smile/Library/Developer/Xcode/DerivedData/
- ld: file not found: /Users/Username/Library/Developer/Xcode/DerivedData/allinns_business-aezaultqw
- Xcode6中更换项目ld: file not found: /Users/kstsurake/Library/Developer/Xcode/DerivedData
- /Users/xxx/Library/Developer/Xcode/DerivedData/MAR-akbwbarcniqxy/build/products/debug-iphoneos
- Warning: Multiple build commands for output file /Users/XXXX/Library/Developer/Xcode/DerivedData/XXX
- error: failed to launch '/Users/shfm1/Library/Developer/Xcode/DerivedData/... no file found
- Xcode在项目更名之后,把项目转移到其他机器出现ld: file not found: /Users/macmini/Library/Developer/Xcode/DerivedData/t的问题
- No such file or directory (/Users/appleapple/Library/Developer/Xcode/DerivedData/
- fatal error: module file '/Users/cylm/Library/Developer/Xcode/DerivedData/ModuleCache/35BFEUGU7C7G3/
- virtual filesystem overlay file '/Users/mc/Library/Developer/Xcode/DerivedData/XueBa-cebydcbvabnqdsb
- make directory /Users/macbook/Library/Developer/Xcode/DerivedData/MapViewDemo: No such file or direc
- /Users/mac/Library/Developer/Xcode/DerivedData/YuQing-amkrrucjrnxwthbnkrzrrydcclei/
- 静态库所在目录 /Users/user/Library/Developer/Xcode/DerivedData
- Linux显示所有输出域自动缩小到最短三数字单元和显示单元的打印
- 网页设计:html布局学习1
- 深入理解java异常处理机制
- css 让div垂直水平居中,兼容ie6+
- error MSB8013: 此项目不包含配置和平台组合 Debug|Win32
- file not found: /Users/hx/Library/Developer/Xcode/DerivedData/Build/Products/...
- 今年的第一款量产产品
- [C++杂记] char *str会默认为const char *str
- VIM键盘映射 (Map)
- 首页-样样好商城团购网-淘宝网
- maven项目管理总结(二)配置文件及依赖管理
- IOS通知设置
- 动态规划之背包问题
- Python中re的match、search、findall、finditer区别