Closed wuyy closed 11 months ago
Can you please share a full sample project that demonstrates this issue, with repro steps? Thanks!
If you update your dependency to point to the latest commit on master, you may find that this PR already fixed the problem: https://github.com/airbnb/lottie-ios/pull/2229 it sounds like it could potentially be related
Which Version of Lottie are you using?
Lottie 4.3.3
Expected Behavior
Loaded successfully and can be played separately
Actual Behavior
LottieAnimationView init completion error:
error:==Optional(Error Domain=NSCocoaErrorDomain Code=4 "The file doesn’t exist.") Error when decoding lottie "btn_good_comment": Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value.} error:==Optional(Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value.}) Error when decoding lottie "btn_good_comment": Error Domain=NSCocoaErrorDomain Code=516 "The file “manifest.json” couldn’t be saved in the folder “btn_good_comment” because a file with the same name already exists." UserInfo={NSFilePath=/private/var/mobile/Containers/Data/Application/C764EBFC-6DE9-4E1B-87CA-7B81831E3465/tmp/btn_good_comment/manifest.json} Error when decoding lottie "btn_good_comment": Error Domain=NSCocoaErrorDomain Code=516 "The file “manifest.json” couldn’t be saved in the folder “btn_good_comment” because a file with the same name already exists." UserInfo={NSFilePath=/private/var/mobile/Containers/Data/Application/C764EBFC-6DE9-4E1B-87CA-7B81831E3465/tmp/btn_good_comment/manifest.json} error:==nil
Code