Change bundle identifier in Xcode when submitting my first app in IOS

后端 未结 12 1757
走了就别回头了
走了就别回头了 2020-12-07 10:53

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

12条回答
  •  自闭症患者
    2020-12-07 11:33

    Here's the answer from Apple's official documentation, just tried, it's working.

    Setting the Bundle ID

    The default bundle ID in your Xcode project is a string formatted as a reverse-domain—for example, com.MyCompany.MyProductName. To create the default bundle ID, Xcode concatenates the company identifier with the product name you entered when creating the project from a template, as described in Setting Properties When Creating Your Xcode Project. (Xcode replaces spaces in the product name to create the default bundle ID.) It may be sufficient to replace the company identifier prefix in the bundle ID or you can replace the entire bundle ID. For example, change the company identifier prefix to match your company domain name or replace the entire bundle ID to match an explicit App ID.

    For Mac apps, ensure that every bundle ID is unique within your app bundle. For example, if your app bundle includes a helper app, ensure that its bundle ID is different from your app’s bundle ID.

    Follow these steps to change the bundle ID prefix in the General pane in the project editor.

    To set the bundle ID prefix

    1. In the project navigator, select the project and your target to display the project editor.

    2. Click General and, if necessary, click the disclosure triangle next to Identity to reveal the settings.

    enter image description here

    1. Enter the bundle ID prefix in the “Bundle Identifier” field.

    To set the bundle ID

    1. In the project navigator, select the project and your target to display the project editor.

    2. Click Info.

    3. Enter the bundle ID in the Value column of the “Bundle identifier” row.

    enter image description here

    If you're feeling interested in reading more, please check APP Distribution Guide from Apple.

提交回复
热议问题