xcode ${PRODUCT_NAME} 未定义错误

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12878286/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 01:49:14  来源:igfitidea点击:

${PRODUCT_NAME} UNDEFINED error

iosxcodeios6

提问by Ali Rahman

After renaming my application I've began to have an issue when I try to build my app. Build setting PRODUCT_NAME undefined

重命名我的应用程序后,当我尝试构建我的应用程序时,我开始遇到问题。构建设置 PRODUCT_NAME 未定义

Any ideas on how this can be fixed?

关于如何解决这个问题的任何想法?

Heres a picture: enter image description here

这是一张图片: 在此处输入图片说明

回答by Keith Smiley

This can be fixed by setting the product's name in your build settings. Click on the target you're having issues with, then Build Settings, then search for product_nameand set it to your application's name.

这可以通过在构建设置中设置产品名称来解决。单击您遇到问题的目标,然后单击构建设置,然后搜索product_name并将其设置为您的应用程序名称。

Screen

屏幕