[SDK49] building ios : declaration of 'facebook' must be imported from module 'yoga.yoga.YGNodePrint' before it is required

After updating to SDK49 (49.0.9), I had this error after npx expo run:ios
(pod install done before, update, clean, reinstall all … whatever)

❌ (/Users/xxxxx/ios/Pods/Headers/Public/ExpoModulesCore/ExpoModulesCore/EXJavaScriptObject.h:8:17)

   6 | #import <jsi/jsi.h>
   7 |
>  8 | namespace jsi = facebook::jsi;
     |                 ^ declaration of 'facebook' must be imported from module 'yoga.yoga.YGNodePrint' before it is required
   9 | #endif // __cplusplus
  10 |
  11 | @class EXJavaScriptRuntime;

❌ (/xxx/ios/Pods/Headers/Public/ExpoModulesCore/ExpoModulesCore/EXJavaScriptObject.h:8:27)

   6 | #import <jsi/jsi.h>
   7 |
>  8 | namespace jsi = facebook::jsi;
     |                           ^ missing '#include "jsi/jsi-inl.h"'; 'jsi' must be declared before it is used
   9 | #endif // __cplusplus
  10 |
  11 | @class EXJavaScriptRuntime;


❌  (/xxxx/ios/Pods/Headers/Public/React-NativeModulesApple/ReactCommon/RCTTurboModule.h:35:18)

  33 |  * ObjC++ specific TurboModule base class.
  34 |  */
> 35 | class JSI_EXPORT ObjCTurboModule : public TurboModule {
     |                  ^ variable has incomplete type 'class JSI_EXPORT'
  36 |  public:
  37 |   // TODO(T65603471): Should we unify this with a Fabric abstraction?
  38 |   struct InitParams {

Did someone already seen that ? Any idea ? Thank you !

A few days later … :rofl: N°1 in popular topic but nobody from Expo has an idea ?
Btw I had to went back to sdk48 … until this issue is solved.
I rarely open anymore issue on github as most of the time it is closed by the bot “provide a reproducible repo” which is quite impossible, as I have no idea how this error come from (apart ExpoModulesCore)

I had a similar issue with SDK48 when I try to build with “jsc” instead of “hermes” for the package “react-native-vision-camera”: “^2.15.6”,

 In file included from /xxxx/node_modules/react-native-vision-camera/android/src/main/cpp/FrameProcessorRuntimeManager.cpp:16:
  /xxxx/node_modules/react-native-vision-camera/android/src/main/cpp/MakeJSIRuntime.h:15:12: fatal error: 'jsi/JSCRuntime.h' file not found
    #include <jsi/JSCRuntime.h>
             ^~~~~~~~~~~~~~~~~~
  1 error generated.
  [7/10] Building CXX object CMakeFiles/VisionCamera.dir/src/main/cpp/CameraView.cpp.o
  [8/10] Building CXX object CMakeFiles/VisionCamera.dir/src/main/cpp/JSIJNIConversion.cpp.o
  [9/10] Building CXX object CMakeFiles/VisionCamera.dir/src/main/cpp/VisionCamera.cpp.o
  ninja: build stopped: subcommand failed.

  C++ build system [build] failed while executing:
      /xxx/Library/Android/sdk/cmake/3.22.1/bin/ninja \
        -C \
        /xxx/Work/shares/fameapp/node_modules/react-native-vision-camera/android/.cxx/Debug/157363l6/arm64-v8a \
        VisionCamera
    from /xxx/Work/shares/fameapp/node_modules/react-native-vision-camera/android