在IOS中提交我的第一个应用程序时,更改Xcode中的包标识符

在IOS中提交我的第一个应用程序时,更改Xcode中的包标识符

问题描述:

我正在尝试在iOS中提交我的第一个应用程序.我输入了iOS Provisioning Portal,我将要创建一个应用程序ID.

I'm trying to submit my first app in iOS. I have entered iOS Provisioning Portal and I am about to create an app ID.

让我们说我的包标识符:

Lets say that I name my bundle identifier:

com.mycompany.appdemo

然后转到Xcode并在摘要"部分中,我想更改包标识符.

Then going to Xcode and in the summary section I want to change the bundle identifier.

但是我不能擦除在那里写的东西,只能擦除它的开始.我的应用名称为灰色,无法删除或更改.

But I cannot erase what is being written there, only the start of it. The name of my app is in grey color and I cannot delete it or change it.

所以我看到类似App-Demo这样的灰色东西,这是左侧项目的名称.

So I see in grey color somethng like this App-Demo which is the name of the project in the left side.

我的问题是这样的: 这是个问题吗?我是否必须创建一个名为com.mycompany.App-Demo或其他名称的新应用程序ID?

My question is this: Is it a problem? Do I have to create a new app id named com.mycompany.App-Demo or something else?

这也是一张照片. 如您所见,我只能编辑第一部分.

Here is a picture also. As you can see I can only edit the first part.

默认情况下,Xcode将捆绑包标识符设置为您在项目创建期间设置的捆绑包/公司标识符+项目名称.

By default, Xcode sets the bundle identifier to the bundle/company identifier that you set during project creation + project name.

这类似于在项目">摘要"屏幕中看到的内容.

This is similar to what you see in the Project > Summary screen.

但是您可以在项目">信息"屏幕中更改此设置. (这是Info.plist.)

But you can change this in the Project > Info screen. (This is the Info.plist.)