Skip to content

Build fails on iOS because of RCTBridgeModule.h #11

@iamandiradu

Description

@iamandiradu

I tried building the app and it failed on BridgeModule's import. I found a fix for this online, but I think this should be included in the module.

Fix:
replace

#import "RCTBridgeModule.h"

with

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions