diff --git a/Podfile b/Podfile index 9b318394fbf8..e635af34edb8 100644 --- a/Podfile +++ b/Podfile @@ -67,14 +67,26 @@ def shared_test_pods pod 'OCMock', '~> 3.4' end -def gutenberg_pod(name, branch=nil) - gutenberg_branch=branch || 'master' - pod name, :podspec => "https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/#{gutenberg_branch}/react-native-gutenberg-bridge/third-party-podspecs/#{name}.podspec.json" -end - def gutenberg(options) + options[:git] = 'http://github.com/wordpress-mobile/gutenberg-mobile/' pod 'Gutenberg', options pod 'RNTAztecView', options + + gutenberg_dependencies options +end + +def gutenberg_dependencies(options) + dependencies = [ + 'React', + 'yoga', + 'Folly', + 'react-native-safe-area', + ] + tag_or_commit = options[:tag] || options[:commit] + + for pod_name in dependencies do + pod pod_name, :podspec => "https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/#{tag_or_commit}/react-native-gutenberg-bridge/third-party-podspecs/#{pod_name}.podspec.json" + end end ## WordPress iOS @@ -86,16 +98,12 @@ target 'WordPress' do shared_with_all_pods shared_with_networking_pods - ## React Native + ## Gutenberg (React Native) ## ===================== ## - gutenberg :git => 'http://github.com/wordpress-mobile/gutenberg-mobile/', :commit => 'da05401ab1a7bdc8c72d1afb3470fb709228c625' + gutenberg :commit => '08a09629cc0adb7709b86f15bb3c43e8c69efd64' - gutenberg_pod 'React' - gutenberg_pod 'yoga' - gutenberg_pod 'Folly' - gutenberg_pod 'react-native-safe-area' - pod 'RNSVG', :git => 'https://github.com/wordpress-mobile/react-native-svg.git', :tag => '8.0.9-gb.0' + pod 'RNSVG', :git => 'https://github.com/wordpress-mobile/react-native-svg.git', :tag => '9.3.3-gb' pod 'react-native-keyboard-aware-scroll-view', :git => 'https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git', :tag => 'gb-v0.8.6' ## Third party libraries diff --git a/Podfile.lock b/Podfile.lock index 84ab1436a663..d67d45777ce7 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -34,7 +34,7 @@ PODS: - Fabric (~> 1.9.0) - DoubleConversion (1.1.5) - Fabric (1.9.0) - - Folly (2016.10.31.00): + - Folly (2018.10.22.00): - boost-for-react-native - DoubleConversion - glog @@ -57,18 +57,18 @@ PODS: - "GoogleToolboxForMac/NSString+URLArguments (2.2.0)" - Gridicons (0.18) - Gutenberg (1.1.0): - - React/Core (= 0.57.5) - - React/CxxBridge (= 0.57.5) - - React/DevSupport (= 0.57.5) - - React/RCTActionSheet (= 0.57.5) - - React/RCTAnimation (= 0.57.5) - - React/RCTImage (= 0.57.5) - - React/RCTLinkingIOS (= 0.57.5) - - React/RCTNetwork (= 0.57.5) - - React/RCTText (= 0.57.5) + - React/Core (= 0.59.0) + - React/CxxBridge (= 0.59.0) + - React/DevSupport (= 0.59.0) + - React/RCTActionSheet (= 0.59.0) + - React/RCTAnimation (= 0.59.0) + - React/RCTImage (= 0.59.0) + - React/RCTLinkingIOS (= 0.59.0) + - React/RCTNetwork (= 0.59.0) + - React/RCTText (= 0.59.0) - RNTAztecView - WordPress-Aztec-iOS - - yoga (= 0.57.5.React) + - yoga (= 0.59.0.React) - HockeySDK (5.1.4): - HockeySDK/DefaultLib (= 5.1.4) - HockeySDK/DefaultLib (5.1.4) @@ -122,52 +122,60 @@ PODS: - OHHTTPStubs/Swift (6.1.0): - OHHTTPStubs/Default - Reachability (3.2) - - React (0.57.5): - - React/Core (= 0.57.5) + - React (0.59.0): + - React/Core (= 0.59.0) - react-native-keyboard-aware-scroll-view (0.8.6): - React - react-native-safe-area (0.5.0): - React - - React/Core (0.57.5): - - yoga (= 0.57.5.React) - - React/CxxBridge (0.57.5): - - Folly (= 2016.10.31.00) + - React/Core (0.59.0): + - yoga (= 0.59.0.React) + - React/CxxBridge (0.59.0): + - Folly (= 2018.10.22.00) - React/Core - React/cxxreact - - React/cxxreact (0.57.5): + - React/jsiexecutor + - React/cxxreact (0.59.0): - boost-for-react-native (= 1.63.0) - - Folly (= 2016.10.31.00) - - React/jschelpers + - DoubleConversion + - Folly (= 2018.10.22.00) + - glog - React/jsinspector - - React/DevSupport (0.57.5): + - React/DevSupport (0.59.0): - React/Core - React/RCTWebSocket - - React/fishhook (0.57.5) - - React/jschelpers (0.57.5): - - Folly (= 2016.10.31.00) - - React/PrivateDatabase - - React/jsinspector (0.57.5) - - React/PrivateDatabase (0.57.5) - - React/RCTActionSheet (0.57.5): + - React/fishhook (0.59.0) + - React/jsi (0.59.0): + - DoubleConversion + - Folly (= 2018.10.22.00) + - glog + - React/jsiexecutor (0.59.0): + - DoubleConversion + - Folly (= 2018.10.22.00) + - glog + - React/cxxreact + - React/jsi + - React/jsinspector (0.59.0) + - React/RCTActionSheet (0.59.0): - React/Core - - React/RCTAnimation (0.57.5): + - React/RCTAnimation (0.59.0): - React/Core - - React/RCTBlob (0.57.5): + - React/RCTBlob (0.59.0): - React/Core - - React/RCTImage (0.57.5): + - React/RCTImage (0.59.0): - React/Core - React/RCTNetwork - - React/RCTLinkingIOS (0.57.5): + - React/RCTLinkingIOS (0.59.0): - React/Core - - React/RCTNetwork (0.57.5): + - React/RCTNetwork (0.59.0): - React/Core - - React/RCTText (0.57.5): + - React/RCTText (0.59.0): - React/Core - - React/RCTWebSocket (0.57.5): + - React/RCTWebSocket (0.59.0): - React/Core - React/fishhook - React/RCTBlob - - RNSVG (8.0.9): + - RNSVG (9.3.3): - React - RNTAztecView (1.1.0): - React @@ -204,7 +212,7 @@ PODS: - WordPressUI (1.2.0) - WPMediaPicker (1.3.2) - wpxmlrpc (0.8.4) - - yoga (0.57.5.React) + - yoga (0.59.0.React) - ZendeskSDK (2.2.0): - ZendeskSDK/Providers (= 2.2.0) - ZendeskSDK/UI (= 2.2.0) @@ -223,12 +231,12 @@ DEPENDENCIES: - Charts (~> 3.2.2) - CocoaLumberjack (= 3.4.2) - Crashlytics (= 3.12.0) - - Folly (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/master/react-native-gutenberg-bridge/third-party-podspecs/Folly.podspec.json`) + - Folly (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/08a09629cc0adb7709b86f15bb3c43e8c69efd64/react-native-gutenberg-bridge/third-party-podspecs/Folly.podspec.json`) - FormatterKit/TimeIntervalFormatter (= 1.8.2) - Gifu (= 3.2.0) - GiphyCoreSDK (~> 1.4.0) - Gridicons (~> 0.16) - - Gutenberg (from `http://github.com/wordpress-mobile/gutenberg-mobile/`, commit `da05401ab1a7bdc8c72d1afb3470fb709228c625`) + - Gutenberg (from `http://github.com/wordpress-mobile/gutenberg-mobile/`, commit `08a09629cc0adb7709b86f15bb3c43e8c69efd64`) - HockeySDK (= 5.1.4) - MGSwipeTableCell (= 1.6.8) - MRProgress (= 0.8.3) @@ -239,11 +247,11 @@ DEPENDENCIES: - OHHTTPStubs (= 6.1.0) - OHHTTPStubs/Swift (= 6.1.0) - Reachability (= 3.2) - - React (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/master/react-native-gutenberg-bridge/third-party-podspecs/React.podspec.json`) + - React (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/08a09629cc0adb7709b86f15bb3c43e8c69efd64/react-native-gutenberg-bridge/third-party-podspecs/React.podspec.json`) - react-native-keyboard-aware-scroll-view (from `https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git`, tag `gb-v0.8.6`) - - react-native-safe-area (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/master/react-native-gutenberg-bridge/third-party-podspecs/react-native-safe-area.podspec.json`) - - RNSVG (from `https://github.com/wordpress-mobile/react-native-svg.git`, tag `8.0.9-gb.0`) - - RNTAztecView (from `http://github.com/wordpress-mobile/gutenberg-mobile/`, commit `da05401ab1a7bdc8c72d1afb3470fb709228c625`) + - react-native-safe-area (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/08a09629cc0adb7709b86f15bb3c43e8c69efd64/react-native-gutenberg-bridge/third-party-podspecs/react-native-safe-area.podspec.json`) + - RNSVG (from `https://github.com/wordpress-mobile/react-native-svg.git`, tag `9.3.3-gb`) + - RNTAztecView (from `http://github.com/wordpress-mobile/gutenberg-mobile/`, commit `08a09629cc0adb7709b86f15bb3c43e8c69efd64`) - SimulatorStatusMagic - Starscream (= 3.0.6) - SVProgressHUD (= 2.2.5) @@ -253,7 +261,7 @@ DEPENDENCIES: - WordPressShared (= 1.7.2) - WordPressUI (from `https://github.com/wordpress-mobile/WordPressUI-iOS.git`, tag `1.2.0`) - WPMediaPicker (= 1.3.2) - - yoga (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/master/react-native-gutenberg-bridge/third-party-podspecs/yoga.podspec.json`) + - yoga (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/08a09629cc0adb7709b86f15bb3c43e8c69efd64/react-native-gutenberg-bridge/third-party-podspecs/yoga.podspec.json`) - ZendeskSDK (= 2.2.0) SPEC REPOS: @@ -302,44 +310,44 @@ EXTERNAL SOURCES: :git: https://github.com/Automattic/Automattic-Tracks-iOS.git :tag: 0.3.2 Folly: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/master/react-native-gutenberg-bridge/third-party-podspecs/Folly.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/08a09629cc0adb7709b86f15bb3c43e8c69efd64/react-native-gutenberg-bridge/third-party-podspecs/Folly.podspec.json Gutenberg: - :commit: da05401ab1a7bdc8c72d1afb3470fb709228c625 + :commit: 08a09629cc0adb7709b86f15bb3c43e8c69efd64 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ React: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/master/react-native-gutenberg-bridge/third-party-podspecs/React.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/08a09629cc0adb7709b86f15bb3c43e8c69efd64/react-native-gutenberg-bridge/third-party-podspecs/React.podspec.json react-native-keyboard-aware-scroll-view: :git: https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git :tag: gb-v0.8.6 react-native-safe-area: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/master/react-native-gutenberg-bridge/third-party-podspecs/react-native-safe-area.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/08a09629cc0adb7709b86f15bb3c43e8c69efd64/react-native-gutenberg-bridge/third-party-podspecs/react-native-safe-area.podspec.json RNSVG: :git: https://github.com/wordpress-mobile/react-native-svg.git - :tag: 8.0.9-gb.0 + :tag: 9.3.3-gb RNTAztecView: - :commit: da05401ab1a7bdc8c72d1afb3470fb709228c625 + :commit: 08a09629cc0adb7709b86f15bb3c43e8c69efd64 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ WordPressUI: :git: https://github.com/wordpress-mobile/WordPressUI-iOS.git :tag: 1.2.0 yoga: - :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/master/react-native-gutenberg-bridge/third-party-podspecs/yoga.podspec.json + :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/08a09629cc0adb7709b86f15bb3c43e8c69efd64/react-native-gutenberg-bridge/third-party-podspecs/yoga.podspec.json CHECKOUT OPTIONS: Automattic-Tracks-iOS: :git: https://github.com/Automattic/Automattic-Tracks-iOS.git :tag: 0.3.2 Gutenberg: - :commit: da05401ab1a7bdc8c72d1afb3470fb709228c625 + :commit: 08a09629cc0adb7709b86f15bb3c43e8c69efd64 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ react-native-keyboard-aware-scroll-view: :git: https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git :tag: gb-v0.8.6 RNSVG: :git: https://github.com/wordpress-mobile/react-native-svg.git - :tag: 8.0.9-gb.0 + :tag: 9.3.3-gb RNTAztecView: - :commit: da05401ab1a7bdc8c72d1afb3470fb709228c625 + :commit: 08a09629cc0adb7709b86f15bb3c43e8c69efd64 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ WordPressUI: :git: https://github.com/wordpress-mobile/WordPressUI-iOS.git @@ -356,7 +364,7 @@ SPEC CHECKSUMS: Crashlytics: 07fb167b1694128c1c9a5a5cc319b0e9c3ca0933 DoubleConversion: e22e0762848812a87afd67ffda3998d9ef29170c Fabric: f988e33c97f08930a413e08123064d2e5f68d655 - Folly: c89ac2d5c6ab169cd7397ef27485c44f35f742c7 + Folly: de497beb10f102453a1afa9edbf8cf8a251890de FormatterKit: 4b8f29acc9b872d5d12a63efb560661e8f2e1b98 Gifu: 7bcb6427457d85e0b4dff5a84ec5947ac19a93ea GiphyCoreSDK: 147a492c2477e9ddb20f8dd3a4489e3ea3c05e38 @@ -364,7 +372,7 @@ SPEC CHECKSUMS: GoogleSignInRepacked: d357702618c555f38923576924661325eb1ef22b GoogleToolboxForMac: ff31605b7d66400dcec09bed5861689aebadda4d Gridicons: 04261236382e9c62c62c9a104f2f532c1bdf6a78 - Gutenberg: 9852b3b20fece652dcdd249df2207346934487c2 + Gutenberg: a913b03aa475e9f8ffe3e73d9b0f7b4a1172ed94 HockeySDK: 15afe6bc0a5bfe3a531fd73dbf082095f37dac3b lottie-ios: 3fef45d3fabe63e3c7c2eb603dd64ddfffc73062 MGSwipeTableCell: dc4eca3212ed38a563b27d6aa7b3c01ce656c1e2 @@ -375,10 +383,10 @@ SPEC CHECKSUMS: OCMock: 43565190abc78977ad44a61c0d20d7f0784d35ab OHHTTPStubs: 1e21c7d2c084b8153fc53d48400d8919d2d432d0 Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96 - React: 01aa04500b2957c2767e1dff9fe12e09444a467c + React: 0d6c719d9549bea0bd5676f8170b0e5c56e2c3c7 react-native-keyboard-aware-scroll-view: 10f0da6653e67ed77ec55e409c9b21cd2aa3a5f8 react-native-safe-area: 7dc92953fce43bf36ab5ecae2fb4ffa2bda9a203 - RNSVG: 6d5813dd9c6a8e041e142abf1372faf012ce5759 + RNSVG: 978db19eaef499d9ebffb74a091ca0abf209c8c1 RNTAztecView: 9fb726a94d97f91e890a1db4f1ffe90be9fc9671 SimulatorStatusMagic: 28d4a9d1a500ac7cea0b2b5a43c1c6ddb40ba56c Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5 @@ -392,9 +400,9 @@ SPEC CHECKSUMS: WordPressUI: 44fe43a9c5c504dfd534286e39e1ce6ebcd69ff5 WPMediaPicker: e50edd8f30f5d87288840941ef3ff9cd11860937 wpxmlrpc: 6ba55c773cfa27083ae4a2173e69b19f46da98e2 - yoga: f37b1edbd68be803f1dc4d57d40d8a5b277d8e2c + yoga: 1fe535cf9b523600f42e2785b6ed56484a62b46d ZendeskSDK: 44ee00338dd718495f0364369420ae11b389c878 -PODFILE CHECKSUM: d00510664ca1f985a1975101615c47fcf159f343 +PODFILE CHECKSUM: 5237ac29fc806deb3d34ee87ff4b7b2008d3dd03 COCOAPODS: 1.5.3