Open SirWroff opened 1 month ago
Hmm, I use this lib with M1 CPU and it works fine for me. So I don't think so.
But I remember trying to build a project on Visual Studio on Windows and I got a similar error, even though everything was good on macOS.
Could you try to remove the bin/obj first and then rebuild it? Also, your project must be compatible with .NET 8 and has default linker settings
I have a code that works fine on a Mac with an Intel CPU. However, when I run the same code on an M1 Mac using Rider, I get the following error: Xamarin.Shared.Sdk.targets(1560,3): Error : clang++ exited with code 1: ld: in /Users/xxx/.nuget/packages/lottie.dotnet8.ios/1.0.1/lib/net8.0-ios17.2/Lottie.DotNet8.Ios.resources/libLottie-ios.a(CALayer+Compat.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/xxx/.nuget/packages/lottie.dotnet8.ios/1.0.1/lib/net8.0-ios17.2/Lottie.DotNet8.Ios.resources/libLottie-ios.a' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Is this incompatibility caused by the ARM CPU? How can I resolve this issue?"