找不到链接错误/Build/Products/Debug-iphonesimulator文件 [英] Link error /Build/Products/Debug-iphonesimulator file not found

查看:50
本文介绍了找不到链接错误/Build/Products/Debug-iphonesimulator文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Xcode时遇到问题,不断给我一个链接器错误,并且它没有构建项目.以下是错误的提示

I have problem with Xcode, keeps giving me a linker error, and it doesn't build the project. The following is the error am getting

ld:找不到文件:/Users/someuser/Library/Developer/Xcode/DerivedData/MAR-akbwbarcniqxytctbebckkelkbxs/Build/Products/Debug-iphonesimulator/MAR.app/MAR

ld: file not found: /Users/someuser/Library/Developer/Xcode/DerivedData/MAR-akbwbarcniqxytctbebckkelkbxs/Build/Products/Debug-iphonesimulator/MAR.app/MAR

clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

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

推荐答案

正如一些其他开发人员在这里提到的,该错误的根本原因是产品名称更改".我通过:

As some of the fellow developers have mentioned here, the root cause of the error was "Change in Product Name". I fixed it by :

  1. 转到[项目]测试->常规

  1. Go to [project]Tests -> general

选择主机应用程序

信用: https://stackoverflow.com/a/28906400/2164029

这篇关于找不到链接错误/Build/Products/Debug-iphonesimulator文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆