Baseflow / Baseflow/LottieXamarin
Native linking failed trying to build ios project with statically linked lib
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 253
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug Report
Hello! Tried to use package you provided and encountered a problem:
I have an app with statically linked .a lib. And i want to add Lottie package. While build i get alot of native linking errors.
Got a small look into Lottie.Xamarin code and found out that it uses .a libs as well for some reason. Sample written in f#, but do not be scared :)
### Expected behavior
no native linking errors occured
### Reproduction steps
Download zip attached, try to run LottieSample.ios
[LottieIos.zip](https://github.com/Baseflow/LottieXamarin/files/5630305/LottieIos.zip)
### Configuration
**Version:** 1.x
**Platform:**
- [ x] :iphone: iOS
- [ ] :robot: Android
- [ ] :checkered_flag: WPF
- [ ] :earth_americas: UWP
- [ ] :apple: MacOS
- [ ] :tv: tvOS
- [ x] :monkey: Xamarin.Forms
Contributor guide
Research direction
Start by downloading the attached LottieIos.zip and running the LottieSample.ios reproduction project. Inspect how the sample's statically linked .a library interacts with the native libraries used by Lottie.Xamarin, then verify that the iOS project builds without native linking errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100