Unable to load lottie files from Asset bundle in Xcode

Error: Loading from bundle failed for both .json and .lottie versions of your animation: fileNotFound(animationName: “Girl”, extensionName: “lottie”)

I followed the docs and used
struct LocalFile: View {
var body: some View {
DotLottieAnimation(fileName: “Girl”, config: AnimationConfig(autoplay: true, loop: true)).view()
}
}

My Girl.lottie is also present in Asset Bundle