【问题标题】:React Native how to change iOS bundle identifier?React Native 如何更改 iOS 包标识符?
【发布时间】:2018-07-11 20:31:16
【问题描述】:

我尝试更改 Info.plist 和 xcode 本身中的包标识符。 (在完全空的项目中)。 但由于某种原因,我无法构建它。 Entry, ":CFBundleIdentifier", Does Not Exist。奇怪的是,我可以在 xcode 中成功构建它,但不能使用 npm run ios。知道如何解决这个问题吗?

【问题讨论】:

    标签: xcode react-native bundle-identifier


    【解决方案1】:

    试试 react-native-rename npm 包。

    npm install react-native-rename -g
    

    在你的 React Native 项目的根目录上执行以下命令

    react-native-rename "ExampleApp" -b com.newname.newid
    

    查看文档 > react-native-rename

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-11-16
      • 2015-06-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-04-17
      • 2021-09-20
      相关资源
      最近更新 更多