反应本机环境信息: 二进制文件: 节点:8.11.3-/ usr / local / bin / node 纱线:1.9.2-/ usr / local / bin / yarn npm:5.6.0-/ usr / local / bin / npm 守望者:4.9.0-/ usr / local / bin / watchman SDK: iOS SDK: 平台:iOS 12.1,macOS 10.14,tvOS 12.1,watchOS 5.1
IDEs:
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.58.2 => 0.58.2
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
pod安装命令创建了libReact-4072a36b.a。我还插入了pod安装脚本以将其删除,但是没有用。
即使我手动删除它,pod install命令也会使用libReact-xxxxxx.a创建
这是我的pod文件
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge',
'DevSupport',
'RCTText',
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTSettings',
'RCTNetwork',
'RCTWebSocket',
'RCTAnimation',
]
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'Firebase/Core'
pod 'Firebase/MLVision'
pod 'Firebase/MLVisionTextModel'
pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
pod 'RNImageCropPicker', :path => '../node_modules/react-native-image-crop-picker'
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
target 'new_mays_translation-tvOSTests' do
inherit! :search_paths
pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
end
target 'new_mays_translationTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
targets_to_ignore = %w(React yoga)
if targets_to_ignore.include? target.name
target.remove_from_project
end
end
end