Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-564

[Bug]: No matching framework found inside realm-wrappers.xcframework

      What happened?

      My Xamarin iOS app compiles fine for the simulator. My app with previous versions of Realm 10 (would be 5) compiles and ran fine on my iOS devices. With Realm 10.x I get an error in Visual Studio trying to deploy the app to any iOS device.

      Error No matching framework found inside 'C:\Users\akamr\.nuget\packages\realm\10.5.1\build\..\native\ios\universal\realm-wrappers.xcframework'. SupportedPlatform: 'ios', SupportedPlatformVariant: '', SupportedArchitectures: 'ARMv7, ARMv7s, ARM64'.

      I've verified that my device is indeed Armv7. The error happens on Visual Studio for Windows and VS Mac as well.

      The "Supported Architectures" listed in the properties of the project are: ARMv7, ARMv7s, ARM64

      Repro steps

      Install Realm 10.x via Nuget, pair VS to the mac, target ios device with valid provisioning profile, try to build and deploy to the device.

      Version

      min required for Xamarin.ios

      What SDK flavour are you using?

      Local Database only

      What type of application is this?

      Xamarin

      Client OS and version

      iOS 14.4

      Code snippets

      No response

      Stacktrace of the exception/crash you're getting

      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
      1>  ERPXamarin.iOS -> D:\Projects\ERPXamarin_iOS\ERPXamarin\ERPXamarin.iOS\bin\iPhone\Debug\ERPXamarin.iOS.exe
      1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.Shared.targets(145,3): error : No matching framework found inside 'C:\Users\akamr\.nuget\packages\realm\10.5.1\build\..\native\ios\universal\realm-wrappers.xcframework'.
      1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.Shared.targets(145,3): error :          SupportedPlatform: 'ios', SupportedPlatformVariant: '', SupportedArchitectures: 'ARMv7, ARMv7s, ARM64'.
      

      Relevant 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
      Severity	Code	Description	Project	File	Line	Suppression State
      Error		No matching framework found inside 'C:\Users\akamr\.nuget\packages\realm\10.5.1\build\..\native\ios\universal\realm-wrappers.xcframework'.
               SupportedPlatform: 'ios', SupportedPlatformVariant: '', SupportedArchitectures: 'ARMv7, ARMv7s, ARM64'.	ERPXamarin.iOS
      

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

              Created:
              Updated:
              Resolved: