Closed EvanMasterson closed 7 months ago
For us to investigate, share a sample project that reproduces this issue.
Hi, @EvanMasterson! I'm not sure that it is related but I noticed that you are using iOS 12 simulator where Lottie has iOS 13 as min deployment target. Can you reproduce the same crash with iOS 13 simulator and iOS 17 one?
Apologies for the noise, after much testing we found that adding 'clean' to our fastlane command resolved this issue. It must have been some old/new code merges affecting DerivedData, it's just interesting it only started to happen after we upgraded multiple libraries and Lottie was the only mention in the logs. Also not sure why there is a reference to iOS 12 Simulator in the logs, we have minimum target iOS 16 and it was run against iOS 17.2. I could not reproduce locally in the end, only intermittently happened on our hosted mac mini. Closing this.
Which Version of Lottie are you using?
Lottie 4.4.1
Actual Behavior
Recently upgraded from 4.3.4 to 4.4.1 for the introduction of Privacy Manifests. Upon merging, first run was fine, however subsequent runs result in linker error's, requiring DerivedData to be wiped in order for it to build successfully on the next run. Happening with both Xcode 15.2 and Xcode 15.3 on Apple Silicon MacOS 14
Console output from Fastlane
Verbose output from Fastlane log file
It seems there are 2 Lottie Bundles in DerivedData/Build/Products/Dev-iphonesimulator folder, one at the root level, and another within PackageFrameworks, could these be conflicting?