Open munit79 opened 4 months ago
I suspect it will need something like this: https://github.com/mono/SkiaSharp/pull/2468
@mattleibow Is there a timeframe for this fix? Since Xamarin won't support the later Apple SDKs, we're forced to move to .Net 8, and Skia is a major part of our app.
Description
Create a new tvOS application in .Net 8, it builds and works fine. If I add a SkiaSharp reference, i.e.
Then the build fails with this error...
Code
https://github.com/munit79/tvosfail
Expected Behavior
I'd expect the app to build and run.
Actual Behavior
It seems to want to link the wrong version of SkiaSharp, i.e. the device build rather than a simulator build.
I get a similar problem when compiling for the App Store, it builds OK, but Apple rejects the build because the skiasharp library is built for the simulator, not the device.
We were able to use SkiaSharp successfully on our Xamarin version of the tvOS app, and we can also successfully use it on the MAUI based iOS version of the app.
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio Code (macOS)
Platform / Operating System
macOS
Platform / Operating System Version
Building on MacBook Pro M3 Max
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
Code of Conduct