无法更改项目中的包ID,显示为灰色 [英] Can't change bundle ID in project, greyed out

查看:197
本文介绍了无法更改项目中的包ID,显示为灰色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了包标识符问题。在我的Xcode项目的摘要部分和'标识符'下,我似乎无法更改我的包ID的名称,因为它是灰色的。例如,我的项目名称是我的应用程序。在摘要中的标识符文本框中,它显示此我的应用程序并显示为灰色。但是,我的配置文件中的我的包ID是'com.mycompany.myapp'。我想在我的项目中将我的包ID更改为,但我似乎无法做到。任何想法为什么它是灰色的?谢谢!

I'm having a problem with bundle identifiers. In the Summary section of my project in Xcode and under 'Identifiers', I can't seem to change the name of my bundle ID as it is greyed out. For example, my project name is 'My App'. In the identifier text box in Summary, it says this 'My-App' and is greyed out. However, my bundle id in my provisioning profile is this, 'com.mycompany.myapp'. I would like to change my bundle ID in my project to that but I can't seem to be able to. Any ideas why it is greyed out? Thanks!

推荐答案

不确定为什么会发生这种情况,但请尝试更改info.plist文件。

Not sure why this is happening to you, but try to change in the info.plist file.

这篇关于无法更改项目中的包ID,显示为灰色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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