amitaymolko / react-native-rsa-native

A native implementation of RSA key generation and encryption/decryption.
MIT License
232 stars 112 forks source link

Fix intermittent build error on iOS #150

Open yhkaplan opened 1 year ago

yhkaplan commented 1 year ago

Changing the import statement seems to fix this intermittent build error on iOS through Xcode for me. Plus, it's the format suggested on the official docs: https://reactnative.dev/docs/native-modules-ios#exporting-swift

.../RCTBridgeModule.h:415:1: Duplicate interface definition for class 'RCTModuleRegistry'
.../RCTBridgeModule.h:429:1: Duplicate interface definition for class 'RCTBundleManager'
.../RCTBridgeModule.h:435:18: Property has a previous declaration
.../RCTBridgeModule.h:443:1: Duplicate interface definition for class 'RCTViewRegistry'
.../RCTBridgeModule.h:460:1: Duplicate interface definition for class 'RCTCallableJSModules'
yhkaplan commented 1 year ago

@amitaymolko Any chance you can take a look?