luberda-molinet / FFImageLoading

Image loading, caching & transforming library for Xamarin and Windows
MIT License
1.42k stars 377 forks source link

.Net 8 support #1574

Open jitendrajadav opened 1 year ago

jitendrajadav commented 1 year ago

Update library with .net8+ support

Describe the feature Platforms affected (mark all that apply) 📱 iOS

iOS is not supporting having issue

Severity Code Description Project File Line Suppression State Error clang++ exited with code 1: ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Users/jitendrajadav/Library/Caches/Xamarin/mtbs/builds/PCF.DspMobile.Maui/385e0ccc07fcfd0d592168a6564c91b56097e0b1e042161ecddfd7ffa49e2051/C:/Users/jiten/.nuget/packages/harfbuzzsharp.nativeassets.ios/2.8.2.3/runtimes/ios/native/libHarfBuzzSharp.framework/libHarfBuzzSharp' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) PCF.DspMobile.Maui C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.8694-net8-p7\targets\Xamarin.Shared.Sdk.targets 1562

onurhazar commented 1 year ago

Looks like they are not supporting the project anymore. Please check; https://github.com/Redth/FFImageLoading.Compat It supports MAUI projects but I couldn't see anywhere that it supports NET.iOS or NET.Android projects. Good luck.

ooikengsiang commented 5 months ago

For anyone that is looking for .NET 8 support for native Android and iOS platform, I have created a quick port of the code: https://github.com/ooikengsiang/DotNetNative.FFImageLoading

Note: After tested with multiple MAUI port of FFImageLoading, they don't work correctly on .NET native Android and iOS project. Especially iOS, they usually required MAUI.Control on runtime.