dominicstop / react-native-ios-context-menu

A react-native component to use context menu's (UIMenu) on iOS 13/14+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: crashes with xcode beta

SamuelScheit opened this issue · comments

// Note: Xcode beta + running on device (iPhone XR + iOS 15.1) causes
// crashes when the context menu is being created

As commented in the file RNIContextMenuView.swift the app crashes when I'm trying to open the context menu.
Is there any fix for this issue?

Environment:

  • macOS 12.4
  • iOS 16.0
  • react-native 0.68.2
  • react-native-ios-context-menu 1.11.0
  • Xcode 14.0 beta (14A5228q)

Hi! This is a bug/known issue with XCode beta (link to release notes)

UIKit
Known Issues
Swift apps that reference UIContextMenuConfiguration and are compiled with the iOS 16 beta SDK crash on launch when run on a device running an older build. (93505538)