I would like to use viro in the project I am working on. I am able to build and run project on actual iPhone, however running project in simulator does not seems possible due to different CPU architecture and no symbols included. I am aware that Viro does not support simulator, but my question is:
Is there a way I can dynamically disable Viro when building for simulator, so I can keep working on and testing other features of my app?
So far I’ve tried to do conditional import:
#if !TARGET_OS_SIMULATOR #import <ViroReact/VRTBundleURLProvider.h> #endif
But in that case I get a different error:
ld: framework not found ViroKit clang: error: linker command failed with exit code 1 (use -v to see invocation)