Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2316

Error: Missing Realm constructor. Did you run "pod install" on iOS

      How frequently does the bug occur?

      Sometimes

      Description

      Here is another case of this bug.
      It happens to a few of my users, iOS version doesn't seem to make a difference.
      Users are upset because they can't even open the app.
      Compatibility matrix seems to be respected.

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Fatal Exception: RCTFatalException: Unhandled JS Exception: Error: Missing Realm constructor. Did you run "pod install"? Please see https://docs.mongodb.com/realm/sdk/react-native/install/ for troubleshooting
      0  CoreFoundation                 0x9e38 __exceptionPreprocess
      1  libobjc.A.dylib                0x178d8 objc_exception_throw
      2  app                            0x2711c8 RCTFormatError + 167 (RCTAssert.m:167)
      3  app                            0x2e4710 -[RCTExceptionsManager reportFatal:stack:exceptionId:extraDataAsJSON:] + 77 (RCTExceptionsManager.mm:77)
      4  app                            0x2e4f54 -[RCTExceptionsManager reportException:] + 147 (RCTExceptionsManager.mm:147)
      5  CoreFoundation                 0x746b4 __invoking___
      6  CoreFoundation                 0x20b1c -[NSInvocation invoke]
      7  CoreFoundation                 0x20534 -[NSInvocation invokeWithTarget:]
      8  app                            0x29f4b8 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 587 (RCTModuleMethod.mm:587)
      9  app                            0x2a149c facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 183 (RCTNativeModule.mm:183)
      10 app                            0x2a10ec invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 419 (Optional.h:419)
      11 libdispatch.dylib              0x2460 _dispatch_call_block_and_release
      12 libdispatch.dylib              0x3f88 _dispatch_client_callout
      13 libdispatch.dylib              0xb640 _dispatch_lane_serial_drain
      14 libdispatch.dylib              0xc18c _dispatch_lane_invoke
      15 libdispatch.dylib              0x16e10 _dispatch_workloop_worker_thread
      16 libsystem_pthread.dylib        0xdf8 _pthread_wqthread
      17 libsystem_pthread.dylib        0xb98 start_wqthread
      

      Can you reproduce the bug?

      No

      Reproduction Steps

      No response

      Version

      11.2.0

      What services are you using?

      Local Database only

      Are you using encryption?

      No

      Platform OS and version(s)

      iOS 15, iOS 16

      Build environment

      npm 6.14.17
      node v16.15.1
      react-native 0.70.8
      realm: 11.2.0
      Hermes disabled

      Cocoapods version

      1.11.3

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: