【发布时间】:2021-10-20 23:02:30
【问题描述】:
我克隆到一个 repo 并且我正确安装了节点模块,没有任何错误,但是当我在命令行中运行 pod install 时,我得到了那个错误,
忽略 unf_ext-0.0.7.6,因为它的扩展未构建。试试: gem pristine unf_ext --version 0.0.7.6
为目标 maltevinder 自动链接 React Native 模块:RNCAsyncStorage、RNCMaskedView、RNDateTimePicker、RNFastImage、RNGestureHandler、RNReanimated、RNScreens、RNVectorIcons、lottie-ios、lottie-react-native、react-native-cookies、react-native-document-选择器、react-native-restart 和 react-native-safe-area-context
分析依赖关系
从 ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec 获取 DoubleConversion 的 podspec
从 ../node_modules/react-native/third-party-podspecs/Folly.podspec 获取 Folly 的 podspec
从 ../node_modules/react-native/third-party-podspecs/glog.podspec 获取 glog 的 podspec
[!] 在 ../node_modules/react-native-image-picker 中找不到 react-native-image-picker 的 podspec
这是我的 Podfile
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '10.0'
target 'maltevinder' do
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'
target 'maltevinderTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
use_flipper!
post_install do |installer|
flipper_post_install(installer)
end
end
target 'maltevinder-tvOS' do
# Pods for maltevinder-tvOS
target 'maltevinder-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
【问题讨论】:
标签: ios react-native cocoapods podspec