打開testApp.xcworkspace編譯出現(xiàn)'event2/event-config.h' file not found
use_flipper! 修改為 use_flipper!({ 'Flipper-Folly' => '2.3.0' })
改完后保存踊餐,將Podfile.lock文件刪除锅劝,然后重新 pod install
installed完成后,返回上層目錄執(zhí)行 yarn ios (或react-native run-ios)就可以啟動了
解決方案來自:
https://github.com/facebook/react-native/issues/30836#issuecomment-772830882