-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
3 - M (<= 1 month)
-
2661
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
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
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