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

Linking issue: building for iOS Simulator, but linking in object file built for iOS

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Critical - P2 Critical - P2
    • JS-v10.1.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      <!---

      Questions: If you have questions about HOW TO use Realm, please ask on
      StackOverflow: http://stackoverflow.com/questions/ask?tags=realm
      We monitor the realm tag.

      Feature Request: Just fill in the first two sections below.

      Bugs: To help you as fast as possible with an issue please describe your issue
      and the steps you have taken to reproduce it in as much detail as possible.

      -->

      Goals

      I'm trying to build a react native app with realm.

      Expected Results

      I expect it to build.

      Actual Results

      The build fails when linking the arm64 version with this error:
      In /path/to/app/node_modules/realm/vendor/realm-ios/librealm-ios.a(placeholder.o), building for iOS Simulator, but linking in object file built for iOS, file '/path/to/app/node_modules/realm/vendor/realm-ios/librealm-ios.a' for architecture arm64

      Version of Realm and Tooling

      • Realm JS SDK Version: 10.0.1 or 6.0.4
      • Node or React Native: react-native 0.63.2
      • Client OS & Version: macOS 10.15.4
      • Which debugger for React Native: ?/None
      • CocoaPods 1.10.0
      • Xcode 12.0.1

            Assignee:
            franck.franck@mongodb.com Franck Franck (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: