Closed FloVanGH closed 2 years ago
Trying to run with configuration Debug|iPhoneSimulator gives me this error:
System.BadImageFormatException: Could not resolve field token 0x04000021, due to: Invalid type Avalonia.iOS.EaglFeature for instance field Avalonia.iOS.Platform:GlFeature assembly:/Users/user/Library/Developer/CoreSimulator/Devices/C0AB387E-00BA-41BB-A15B-BCEA0D2E2036/data/Containers/Bundle/Application/8D0BEDFF-9E14-4E37-A5B3-DAFA592CC644/XamlControlGallery.iOS.app/Avalonia.iOS.dll type:Platform member:(null)
File name: 'Avalonia.iOS'
at Avalonia.Controls.AppBuilderBase`1[TAppBuilder].Setup () [0x00075] in D:\a\1\s\src\Avalonia.Controls\AppBuilderBase.cs:303
at Avalonia.Controls.AppBuilderBase`1[TAppBuilder].SetupWithLifetime (Avalonia.Controls.ApplicationLifetimes.IApplicationLifetime lifetime) [0x00007] in D:\a\1\s\src\Avalonia.Controls\AppBuilderBase.cs:179
at Avalonia.iOS.AvaloniaAppDelegate`1[TApp].FinishedLaunching (UIKit.UIApplication application, Foundation.NSDictionary launchOptions) [0x00039] in D:\a\1\s\src\iOS\Avalonia.iOS\AvaloniaAppDelegate.cs:33
at (wrapper
I have a similar issue on running it on my iPhone
error MT2002: Failed to resolve "Avalonia.OpenGL.IWindowingPlatformGlFeature" reference from "Avalonia.OpenGL, Version=0.10.0.0, Culture=neutral, PublicKeyToken=null"
How can I run the gallery on the iOS simulator or a iOS device. Sorry for the question but there is no good source how to run Avalonia apps on iOS.