简体   繁体   English

我在Xcode中更改了项目的名称,现在当我运行它时出现错误

[英]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查看调用)


WHAT SHOULD I DO? 我该怎么办?

****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.

相关问题 当我在xcode中构建项目时,出现类似clang错误的错误:找不到输入文件 - when i build my project in xcode i got an error like clang error:input files not found 当我尝试在手机上运行 Xcode 项目时收到错误消息? - I am getting an error message when I try to run a Xcode project on my phone? 当我尝试运行Xcode项目时,它显示了我上传图像的链接器错误 - When I try to run my Xcode project, it shows that linker error which I uploaded the image Xcode - 我更改了产品模块名称,现在自动完成将不再起作用(使用新模块名称时) - Xcode - I changed the Product Module Name, now auto-complete won't work anymore (when using the new module name) 更改 XCode 项目的显示名称,现在出现错误 - Changed Display Name of XCode Project, now getting error 运行Xcode项目时如何修复IUnityGraphicsMetal错误 - How to fix IUnityGraphicsMetal error when I run Xcode project 我在 xcode 项目中添加了两个文件夹,现在当我尝试提交它们时出现以下错误 - I have added two folders to xcode project and now when I try to commit them I get following error 更新我的 Xcode 13.3.1 后,我无法运行我的 flutter 项目,出现错误 CocoaPods not installed or not in valid state - After updated my Xcode 13.3.1, I unable to run my flutter project with the error CocoaPods not installed or not in valid state 我试图在xcode中运行其他人的项目,但出现了“ Build Failed” - I tried to run someone else's project in xcode and I got a “Build Failed” 我已经更改了我的迅速viewController名称,现在我的所有ui成员均为零 - I have changed my swift viewController name and all my ui members are nil now
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM