Search code examples
reactjsxcodereact-nativehybrid-mobile-app

Unable to build a new react-native project on xCode 14


facing a following issue with react-native-area-view-context package only in xCode app works fine while runing from terminal,enter image description here

I tried re-installing package, clearing node_modules, npm cache and re installing pod files


Solution

  • This issue is more related to react-native new architecture, and I'm finally able to fix it by updated all the packages to their latest versions.

    And after that I installed the pod using

    bundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install