Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-react-native-library example for native module with c++ possibly broken on iOS #493

Open
therealpurplemana opened this issue Feb 3, 2024 · 0 comments

Comments

@therealpurplemana
Copy link

Hi, I'm trying to scaffold a react native native module using jsi with cpp. I'm unable to get the sample working on iOS and curious if anyone else has seen an issue.

To reproduce:

  1. npx create-react-native-library react-native-nativetest then cd into folder
  2. yarn
  3. yarn android --> Loads and works correctly. Result: 21 displayed on screen
  4. cd /example/ios --> pod install --> Pods all install properly including the react-native-nativetest 0.1
  5. Open XBCode Project to set signing certificate
  6. cd to / and run yarn ios --> Builds and installs on the phone. Dev server still running from Android, so I reload the app and it connects, bundles, and splash screen displays. Then goes black screen with a Console Warning: RCTBridge required dispatch_sync to load RCTAccessibilityManager with no other errors.

Trying to build directly in Xcode project shows this error: image

Has anyone else encountered this recently and any tips to get it running on iOS?

Testing on iOS 17.4 with iPhone 14

@therealpurplemana therealpurplemana changed the title create-react-native-library for native module with c++ possibly broken create-react-native-library example for native module with c++ possibly broken on iOS Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant