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

iOS build breaks when running on RN 0.74.0 with new architecture #3462

Closed
MrRefactor opened this issue Apr 24, 2024 · 5 comments
Closed

iOS build breaks when running on RN 0.74.0 with new architecture #3462

MrRefactor opened this issue Apr 24, 2024 · 5 comments

Comments

@MrRefactor
Copy link

Environment

  • @rnmapbox/maps version: [10.1.19]
  • React Native version: [0.74.0]

Steps to reproduce

  1. Create a new RN project:
react-native init sample --version react-native@0.74.0
cd sample
npm install @rnmapbox/maps@10.1.19 --save
  1. Turn on new architecture
  2. Run pod install
  3. Run build in Xcode

Builds fall with errors:

Screenshot 2024-04-22 at 17 15 07
Screenshot 2024-04-22 at 17 15 11

@MrRefactor
Copy link
Author

Hey @mfazekas I see that you created a PR for rc of rn0.74.0 -> #3408 but as long as changes for android are working fine, I still have issues with iOS part.

@mfazekas
Copy link
Contributor

Hi thanks,, see e83ef10

@MrRefactor
Copy link
Author

Hey @mfazekas thanks for the changes! After applying those and rebuilding pods, app is building but its failing in the runtime due to missing RNMBXMovePointShapeAnimatorModule as on the screen:

On my end I have also disabled bridgeless mode

Simulator Screenshot - iPhone 15 Pro Max - 2024-04-28 at 12 34 52

Logs:

Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNMBXMovePointShapeAnimatorModule' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["Timing","UIManager","NativeAnimatedModule","RNCWebView","ModalManager","RNMBXTileStoreModule"],"TurboModules":["PlatformConstants","LogBox","SourceCode","AppState","BlobModule","WebSocketModule","SettingsManager","DevSettings","Networking","RedBox","Appearance","DevLoadingView","DeviceInfo","ImageLoader","LinkingManager","ReanimatedModule","KeyboardObserver","RNGestureHandlerModule","I18nManager","RNCSafeAreaContext","RNCConfigModule","RNDeviceInfo","AlertManager","RNCNetInfo","StatusBarManager","StatusBarManager","ReactNativeBlobUtil","LiveMarkdownModule","RNSModule","RNCCameraRoll","RNCCameraRollPermission","RTNAirship","RNCClipboard","FileReaderModule","RNShare","AccessibilityManager","RNMBXCameraModule","RNMBXMapViewModule","RNMBXPointAnnotationModule","RNMBXShapeSourceModule","RNMBXImageModule","RNMBXViewportModule"],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","BugReporting","HeadlessJsTaskSupport","SoundManager","IntentAndroid","NativeReactNativeFeatureFlagsCxx","FrameRateLogger","AccessibilityInfo","RNMBXMovePointShapeAnimatorModule"]}, js engine: hermes

@mfazekas
Copy link
Contributor

@MrRefactor sorry my bad, should be fixed by #3467

@MrRefactor
Copy link
Author

Its working fine, thank you so much! @mfazekas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants