Skip to content

IOS: Build fails with "Redefinition of 'RCTMethodInfo'" error #8

Description

@orelmax

Output of react-native info

Environment:
OS: macOS 10.14
Node: 9.11.1
Yarn: 1.6.0
npm: 6.4.1
Watchman: 4.7.0
Xcode: Xcode 10.1 Build version 10B61
Android Studio: 3.1 AI-173.4907809

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.3 => 0.55.3

I was trying to fix this by changing RNFyber.h with:

#if __has_include(<React/RCTBridgeModule.h>)
  #import <React/RCTBridgeModule.h>
#else
  #import "RCTBridgeModule.h"
#endif

but no avail.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions