react-native-rsa-native icon indicating copy to clipboard operation
react-native-rsa-native copied to clipboard

IOS Build fails "include of non-modular header"

Open nightrdr opened this issue 2 years ago • 0 comments

Getting the following error while building the project for ios.

<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/react-native-rsa-native-umbrella.h"
        ^
/Users/anurag/Desktop/repos/sample/ios/Pods/Target Support Files/react-native-rsa-native/react-native-rsa-native-umbrella.h:13:9: note: in file included from /Users/anurag/Desktop/repos/sample/ios/Pods/Target Support Files/react-native-rsa-native/react-native-rsa-native-umbrella.h:13:
#import "RNRSA-Bridging-Header.h"
        ^
/Users/anurag/Desktop/repos/sample/node_modules/react-native-rsa-native/ios/RNRSA-Bridging-Header.h:4:9: error: include of non-modular header inside framework module 'react_native_rsa_native.RNRSA_Bridging_Header': '/Users/anurag/Desktop/repos/sample/node_modules/react-native/React/Base/RCTBridgeModule.h'
#import <React/RCTBridgeModule.h>
        ^
<unknown>:0: error: could not build Objective-C module 'react_native_rsa_native'

Using: XCode 14 Macbook Pro M1 React native 0.64.2 React native RSA native version: 2.0.5

nightrdr avatar Apr 02 '23 18:04 nightrdr