Could not find or use auto-linked library ‘swiftWebKit’

Description

Error raised when building the app.

Steps to Reproduce

  1. run build in the xcode app.
  2. error when building

Expected behavior: build the app without such error.

Actual behavior:

ld: warning: Could not find or use auto-linked library 'swiftWebKit'
Undefined symbols for architecture arm64:
  "__swift_FORCE_LOAD_$_swiftWebKit", referenced from:
      __swift_FORCE_LOAD_$_swiftWebKit_$_lottie_react_native in liblottie-react-native.a(ContainerView.o)
      __swift_FORCE_LOAD_$_swiftWebKit_$_lottie_react_native in liblottie-react-native.a(AnimationViewManagerModule.o)
     (maybe you meant: __swift_FORCE_LOAD_$_swiftWebKit_$_lottie_react_native)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

1 possible answer(s) on “Could not find or use auto-linked library ‘swiftWebKit’