react-native-native-runtime
react-native-native-runtime copied to clipboard
Mac Catalyst fails to run
Looks like a cool idea @shirakaba! Unfortunately, it has a problem running on MacCatalyst:
ERROR Error: ReferenceError: Can't find symbol within this executable: $$typeof
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
RN Info:
System:
OS: macOS 11.4
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 23.67 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 16.0.0 - /var/folders/rv/gqqc1y710gs7kybklq1tvfbc0000gp/T/yarn--1636906406405-0.13734445097880243/node
Yarn: 1.22.10 - /var/folders/rv/gqqc1y710gs7kybklq1tvfbc0000gp/T/yarn--1636906406405-0.13734445097880243/yarn
npm: 7.10.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0
Android SDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7199119
Xcode: 13.0/13A233 - /usr/bin/xcodebuild
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.2 => 0.64.2
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Is this just from running the example app as-is?
@shirakaba - I don't think it's possible to run the example project as-is on MacCatalyst on 64.2. In fact, I had to upgrade RN 0.64.0 to 0.64.2 on another project setup in podfile to support catalyst. A fresh project install on 64.0 and adding your library attempts to bundle to macOS when the target is set to mac instead of iOS (iOS bundle is what we want to build a hybrid app with catalyst).