viro: Simulator crash

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. Device OS & Version: iOS 15.2
  3. Version: ViroReact: 2.22, React Native 0.67.2
  4. Device(s): IPhone 13 simulator

Description

When installing the library, it’s impossible to run the app on simulator (even without any viro component being loaded). From the discord server, it seems some users of the library are able to get it running on simulator. It may be linked to using a previous version of the library, simulator or simulator OS?

Here is the error from the simulator crash report:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: DYLD 1 Library missing
Library not loaded: @rpath/GTMSessionFetcher.framework/GTMSessionFetcher

Reproducible Demo

Here is a complete repro repo: https://github.com/francois-pasquier/viro-simulator-poc

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 5
  • Comments: 15 (1 by maintainers)

Most upvoted comments

I have a similar problem ( I hope you fix it soon

I am using version 2.23.0, it’s still ongoing I guess

Is it somehow possible to just exclude the ViroReact and ViroKit pods when running on an iOS Simulator? I’m guessing this can be done with the Podfile, but I have no idea how. Thank you for any hints.