更改项目名称后,Apple Mach-O Linker错误 [英] Apple Mach-O Linker Error, after changing project name

查看:73
本文介绍了更改项目名称后,Apple Mach-O Linker错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Xcode 6.1.1中制作一个应用程序,只是更改了该应用程序的名称,然后我得到了这个"Apple Mach-O Linker Error" 构建失败错误. 它说"ld:找不到文件:" ,可能是因为找不到新名称的文件的位置..有什么建议吗?

I'm making an app in Xcode 6.1.1, and just changed the name of the app, and afterwards I'm getting this "Apple Mach-O Linker Error" build failed error. It says "ld: file not found:", probably because it can't find the placement of some file with the new name.. Any suggestions?

ld:找不到文件:/Users/rb/Library/Developer/Xcode/DerivedData/Which_Club-gkgjdxflldelikaopinkdoskkers/Build/Products/Debug-iphoneos/WhichClubToUse.app/WhichClubToUse clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

ld: file not found: /Users/rb/Library/Developer/Xcode/DerivedData/Which_Club-gkgjdxflldelikaopinkdoskkers/Build/Products/Debug-iphoneos/WhichClubToUse.app/WhichClubToUse clang: error: linker command failed with exit code 1 (use -v to see invocation)

"Which_club"是项目的新名称,"WhichClubToUse"是旧名称..

"Which_club" is the new name of the project, and "WhichClubToUse" is the old name..

推荐答案

我找到了解决方案!在我的[项目]测试->常规下,我需要选择新的主机应用程序

I found the solution! Under my [project]Tests -> general, i needed to select the new Host Application

这篇关于更改项目名称后,Apple Mach-O Linker错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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