[tests][ios] update Podfile

This commit is contained in:
Salakar
2018-09-24 04:14:31 +01:00
parent f3d6700ad1
commit ccac667177
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
require 'json'
package = JSON.parse(File.read('../../package.json'))
install! 'cocoapods', :deterministic_uuids => false
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
@@ -7,6 +10,7 @@ target 'testing' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
rnfb_version = package["version"]
react_native_path = "../node_modules/react-native"
pod "yoga", :path => "#{react_native_path}/ReactCommon/yoga"
@@ -33,7 +37,7 @@ target 'testing' do
pod 'Fabric', '~> 1.7.11'
pod 'Crashlytics', '~> 3.10.7'
pod 'RNFirebase', :path => '../../ios/RNFirebase.podspec'
pod 'RNFirebase', :path => '../../ios/RNFirebase.podspec', :version => "~> #{rnfb_version}"
post_install do |installer|
installer.pods_project.targets.each do |target|

View File

@@ -305,6 +305,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native"
RNFirebase:
:path: "../../ios/RNFirebase.podspec"
:version: "~> 5.0.0-rc5"
yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"
@@ -347,6 +348,6 @@ SPEC CHECKSUMS:
RNFirebase: 2b25fd2e60269f26bb0a76c71dcc942b35a77df0
yoga: b1ce48b6cf950b98deae82838f5173ea7cf89e85
PODFILE CHECKSUM: 33388e8d8d1b7c967a58d636efdd0c9f4d74a9b5
PODFILE CHECKSUM: f795130025a049aa8df38dd82ec2841030247cc7
COCOAPODS: 1.5.3