javascript iOS - React Native -升级react-native 0.69.3时无法安装cocoa-pods

dm7nw8vv  于 2023-05-16  发布在  Java
关注(0)|答案(1)|浏览(157)
suresh ios % pod install
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
RNFBAnalytics: Using default Firebase/Analytics with Ad Ids. May require App Tracking Transparency. Not allowed for Kids apps.
RNFBAnalytics: You may set variable `$RNFirebaseAnalyticsWithoutAdIdSupport=true` in Podfile to use analytics without ad ids.
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`

[!] Unable to find a specification for `React-Codegen (= 0.69.3)` depended upon by `React-RCTSettings`

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.

iOS - React Native -升级react-native 0.69.3时无法安装cocoa-pods

r3i60tvu

r3i60tvu1#

您是否尝试过错误日志中提到的解决方案?

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 repo update大部分时间都为我修复了这个问题。

相关问题