【发布时间】:2019-04-20 21:09:32
【问题描述】:
当我尝试使用 init 创建 react native 应用程序时
react-native init AppName
上面创建了名为 AppName 的项目,然后我尝试在 IOS 中构建应用程序,但它失败了。
命令失败:/usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/app.app/Info.plist 打印:条目,“:CFBundleIdentifier”,不存在
我已经尝试了https://github.com/facebook/react-native/issues/5054#issuecomment-264718211 所有这些步骤并升级了节点,react-native。
但是,我还是遇到了同样的问题。我正在使用以下版本。
node version: v10.10.0
react-native-cli: 2.0.1
react-native: 0.57.1
【问题讨论】:
标签: react-native react-native-ios