在这里,我在尝试将Flipper集成到我的项目中时遇到了问题。按照入门指南中的说明进行操作。[!] Unable to find a specification for FlipperKit (~> 0.30.0)
跑步时遇到问题pod install
我尝试了另一种获取 FlipperKit 的方法,方法是通过以下方式抓取它git:URL
并指向branch:master
:
pod 'FlipperKit', :git => 'https://github.com/facebook/flipper.git', :branch => 'master', :configuration => 'Debug'
pod 'FlipperKit/FlipperKitLayoutPlugin', :git => 'https://github.com/facebook/flipper.git', :branch => 'master', :configuration => 'Debug'
pod 'FlipperKit/SKIOSNetworkPlugin', :git => 'https://github.com/facebook/flipper.git', :branch => 'master', :configuration => 'Debug'
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', :git => 'https://github.com/facebook/flipper.git', :branch => 'master', :configuration => 'Debug'
pod 'FlipperKit/FlipperKitReactPlugin', :git => 'https://github.com/facebook/flipper.git', :branch => 'master', :configuration => 'Debug'
但是我被另一个问题阻止了[!] Unable to find a specification for YogaKit (~> 1.18)depended upon byFlipperKit/FlipperKitLayoutPlugin
。尽管我尝试使用类似的方法(指向它的 git + 分支)来获取 YogatKit,但我将继续面临另一个缺失的依赖问题。我在这里错过了什么步骤吗?
我也在Github 上提出了这个问题,请随时跟进。
我在以下环境中:
鳍状肢桌面版: 0.30.0
反应本机信息:
System:
OS: macOS Mojave 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz
Memory: 495.95 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.10.0 - /usr/local/bin/node
Yarn: 1.19.0 - /usr/local/bin/yarn
npm: 6.12.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 28, 29
Build Tools: 28.0.3, 29.0.2
System Images: android-24 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom_64
Android NDK: 19.2.5345600
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.0 => 0.61.0
npmGlobalPackages:
react-native-cli: 2.0.1