简体   繁体   English

从 ReactNative 项目更改 Xcode BundleID 和项目名称

[英]Change Xcode BundleID and project name from ReactNative Project

A while ago I started a React Native project which generated the Xcode project folder/files including an unwanted bundleID, project name and target names etc.不久前,我启动了一个 React Native 项目,该项目生成了 Xcode 项目文件夹/文件,包括不需要的 bundleID、项目名称和目标名称等。

When I try to create an app in AppStoreConnect or APNs Certificate in my Apple Developer account the bundleID of this app does not appear in the list, probably because I did not start the project in Xcode.当我尝试在我的 Apple Developer 帐户中的 AppStoreConnect 或 APNs 证书中创建应用程序时,此应用程序的 bundleID 未出现在列表中,可能是因为我没有在 Xcode 中启动该项目。

I need to change the bundleID and ideally the project name/target name etc, but the existing names are tied-up in the wider repository and cause errors.我需要更改 bundleID 和理想的项目名称/目标名称等,但现有名称绑定在更广泛的存储库中并导致错误。

This, two questions;这,两个问题;

  1. Should I make the changes in Xcode or somewhere in the VScode repo?我应该在 Xcode 中还是在 VScode 存储库中的某个地方进行更改?
  2. How can I get my bundleID to show in my Apple Developer account?如何让我的 bundleID 显示在我的 Apple Developer 帐户中?

Many many thanks非常感谢

[https://www.npmjs.com/package/react-native-rename] [https://www.npmjs.com/package/react-native-rename]

You can use this plugin to rename your app.您可以使用此插件重命名您的应用程序。

And your have to create your bundle id in: Apple developer -> Certificates, Identifiers & Profiles -> Identifiers并且您必须在以下位置创建您的包 ID:Apple developer -> Certificates, Identifiers & Profiles -> Identifiers

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM