dominicstop / react-native-ios-context-menu

A react-native component to use context menu's (UIMenu) on iOS 13/14+
MIT License
572 stars 29 forks source link

Cannot find RCTView in scope #93

Closed focux closed 9 months ago

focux commented 9 months ago

Today I upgraded my app from v1 to v2 and after that, the build started failing as you see below, the error seems related to react-native-ios-utilities. Also, If it helps, my app is a bare react native app with expo modules. I'm using Expo SDK 50 with RN 73.

image

Versions

"react-native": "0.73.2",
"expo": "50",
"react-native-ios-context-menu": "2.3.0",
"react-native-ios-utilities": "4.2.3",
focux commented 9 months ago

Turns out I had something wrong with my expo module config. I have several targets in my Podfile and I should have put use_expo_modules! inside each target instead of outside.

alexanderblackh commented 4 months ago

Hey @focux, can you show me how you fixed this? I only have two targets, project and projectTest, and having this in both isn't solving this.

focux commented 4 months ago

Is your RN app a bare + expo modules app?