xcode - 无法找到 `React-Core` 依赖的规范 `UMReactNativeAdapter`

标签 xcode react-native cocoapods

低于错误,

Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Pre-downloading: `ExpoKit` from `http://github.com/expo/expo.git`, tag `ios/2.13.0`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] Unable to find a specification for `React-Core` depended upon by `UMReactNativeAdapter`

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

我试过,
pod setup
pod install
pod install --repo-update

另外,我卸载/安装了 cocoapods再次,但仍然出现上述错误。

最佳答案

您可以更改您的 UMReactNativeAdapter podspec 文件,

s.dependency 'React-Core'


  • 将“-”更改为“/”

  • 看看这个类似的问题。
    https://github.com/joltup/rn-fetch-blob/issues/402#issuecomment-513077800

    关于xcode - 无法找到 `React-Core` 依赖的规范 `UMReactNativeAdapter`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60846443/

    相关文章:

    ios - 如何在 React Native 中实现单选按钮

    ruby - 无法在特立独行者上安装 cocoapods

    swift - 为什么我的库无法在 CocoaPods 上扩展并显示为 Objective-c 而不是 Swift?

    c++ - Cocos2d-x v4.0在使用Xcode 12,Xcode 12.1,Xcode 12.2的iPhone模拟器中崩溃

    Swift REST 请求 PUT 可选(502 错误网关 : Registered endpoint failed to handle the request. )

    ios - 使用 xcodebuild 归档时缺少配置文件错误

    ios - xCode 不会从 Unity 解析项目

    react-native - 要在Visual Studio Code中为React Native自动完成工作,需要采取什么步骤?

    react-native - React Native 访问 WebView Actions 或 WebView 的 ScrollView

    ios - 创建使用其他 Pod 的私有(private) CocoaPod