[英]I changed the name of my project in Xcode, now when I run it I got an error
The name of my app was Free Percentage Calculator , I didn't want that long name to show in the home screen below the app when downloaded so I changed the 'Identity and Type' name to Percentage Calculator . 我的应用程序名称为Free Percentage Calculator ,下载时我不希望在应用程序下方的主屏幕中显示该长名称,因此我将“ Identity and Type”名称更改为Percentage Calculator 。 I'm ready to take the screenshots the app store and when I ran the app i got this issue :
我已经准备好在应用商店中截取屏幕截图,当我运行该应用时,我遇到了这个问题 :
( ! ) Apple Mach-O Linker Error (!)Apple Mach-O链接器错误
Linker command failed with exit code 1 (use -v to see invocation) 链接器命令失败,退出代码为1(使用-v查看调用)
****sorry but for a reason stack overflow doesn't let me upload an image**** ****抱歉,但由于某种原因,堆栈溢出不允许我上传图片****
I figured it out, just changed the name back exactly how it was before. 我想通了,只是将名称改回了原来的样子。 Thanks everybody for giving your advice!
谢谢大家的建议!
Cmd - shift - K should clean the environment and get rid of that error. Cmd-shift-K应该清除环境并摆脱该错误。
This usually works for me. 这通常对我有用。 Hopefully this helps.
希望这会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.