React Native IOS Build CFBundleIdentifier Does not Exist

前端 未结 11 852
萌比男神i
萌比男神i 2021-01-12 00:38

I have create sample React Native project and following the tutorial as per react native website.

I have try to run the application IOS simulator, its throwing error

11条回答
  •  孤城傲影
    2021-01-12 01:13

    I have the same problem right after init:

    react-native init myapp cd myapp react-native run-ios

    ..although run-android was fine.

    Not a solution but a workaround for the moment, maybe be to init using a lower version of RN:

    react-native init myapp --version react-native@0.51.0

    That builds okay. Similar in an existing project, install an older version of RN.

    Other versions before 0.54.2 might work but I haven't tried.

    (edited 2018/4/2) Found my solution from this link: https://github.com/facebook/react-native/issues/18238

    RN 0.54 requires types available since iOS 11. So you have to upgrade your xcode and set minimum iOS version in your app to 11

    In short, upgraded OSX & Xcode to the latest. (As of today, OSX 10.13.4 Xcode & 9.3)

提交回复
热议问题