xcode 10 error: multiple commands produce - react native

后端 未结 3 1017
生来不讨喜
生来不讨喜 2021-01-04 03:09

So there are a lot of questions like this already, but I\'m having the same error, not relating to cocoapods or info.plist, at least I don\'t think, because

相关标签:
3条回答
  • 2021-01-04 03:36

    I fixed it by upgrading cocoapods to the latest version:

    1. Close Xcode project.
    2. Upgrade cocoapods to latest version - run "sudo gem install cocoapods"
    3. Follow steps here to remove existing pods
    4. Run "pod install" in the project directory
    0 讨论(0)
  • I have resolved my issue in Xcode 10.2 through below steps:

    change the build system to Legacy

    File > Workspace Settings > Build System > Legacy Build System.

    0 讨论(0)
  • 2021-01-04 03:39

    For those using React Native and Cocoapods

    The issue was produced by some libRN...a files. I fixed it by removing some of them like libRNScreens.a and libRNGestureHandler.a from Build Phases -> Link Binary with Libraries since they were already being referenced from another libraries. Others had to be replaced by their Pod version like libRNDeviceInfo.a:

    0 讨论(0)
提交回复
热议问题