Среда
Реагировать Информация о собственном окружении: Двоичные файлы: Узел: 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 - SDK / usr / local / bin / watchman: 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.ai также вставил скрипт установки 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