xcode 更改应用程序名称后捆绑标识符更改

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15985145/
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 03:12:17  来源:igfitidea点击:

Bundle identifier changed after changing application name

iosxcodebundleidentifier

提问by holtii

a little stuck here,

有点卡在这里,

I changed the name of my application, the bit that will show under the icon on a device, bundle identifier right ? I want to submit an update to my app, but now my bundle identifier is different, and there is no code signing identity profile to select to validate/distribute. How do I go about submitting my app if the identifiers are different?

我更改了我的应用程序的名称,将显示在设备图标下的位,包标识符对吗?我想提交对我的应用程序的更新,但现在我的包标识符不同,并且没有代码签名身份配置文件可供选择来验证/分发。如果标识符不同,我该如何提交我的应用程序?

Really confused

真糊涂

any help would be much appreciated

任何帮助将非常感激

thanks

谢谢

回答by Vitaly Berg

By default your bundle identifier is com.yourcompany.${PRODUCT_NAME:rfc1034identifier} in your Info.plist (Bundle identifierkey), if you change PRODUCT_NAME you change also your bundle identifier. You can specify other bundle identifier in Info.plist which you can find in Project Navigator. To change the name of application in Spring Board (under icon) you have to change Bundle display namein Info.plist. For more details about Info.plist read apple documentation:

默认情况下,您的 Info.plist(Bundle identifier键)中的捆绑标识符为 com.yourcompany.${PRODUCT_NAME:rfc1034identifier} ,如果您更改 PRODUCT_NAME,您的捆绑标识符也会随之更改。您可以在 Info.plist 中指定其他包标识符,您可以在 Project Navigator 中找到。要在 Spring Board(图标下)中更改应用程序的名称,您必须Bundle display name在 Info.plist 中进行更改。有关 Info.plist 的更多详细信息,请阅读苹果文档:

https://developer.apple.com/library/ios/#documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html

https://developer.apple.com/library/ios/#documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html