React Native 0.63.2 iOS Build Error with `ld: library not found for -lAppAuth`

Aun*_*ein 7 xcode ios react-native

我正在尝试为 iOS 构建我的 RN 项目并出现错误

ld: library not found for -lAppAuth
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)

你对如何解决这个问题有什么想法吗?我也尝试打开 .xcworkspace 文件,但我不确定我的 xcode 是否打开了正确的文件。你如何判断 xcode 是打开 xcworkspace 还是 xcodeproj 文件?

我在 Mac Catalina 上使用 XCode 11.4.1。注册号 0.63.2。

- 更新 -

我发现-L前面有一个额外的-L....AppAuth内容如下。这个错误与此有关吗?

- L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphonesimulator -L -L/Users/aungmt/Library/Developer/Xcode/DerivedData/myanlearn_for_students-asipdyxbdtsgxofrgmvaagrgceyh/Build/Products/Debug-iphonesimulator/AppAuth
Run Code Online (Sandbox Code Playgroud)

ezi*_*zik 4

得到完全相同的错误。

  1. 转到项目构建设置
  2. 找到“搜索路径”
  3. 从“库搜索路径”中删除 $(inherited)

在此输入图像描述