From 25b7f88843c5dc8049168473d952ac3700e4a624 Mon Sep 17 00:00:00 2001 From: Pritesh Nandgaonkar Date: Mon, 7 Jun 2021 04:39:04 -0700 Subject: [PATCH] Add github spec repo as a source in RN Sample app (#2412) Summary: This diff adds the cocoapod's github repo as a source otherwise Cocoapod uses the cdn to refer the latest pods. We need this as in create_pr job we update the Podfile.lock of this RN sample project and it fails to find the latest flipper pod because Cocapod takes a while to update its cdn. Reffering the specs directly from github repo solves the issue. ## Changelog Add github spec repo as a source in the Podfile. Pull Request resolved: https://github.com/facebook/flipper/pull/2412 Test Plan: CI https://github.com/facebook/flipper/actions/runs/902547740 Reviewed By: nikoant Differential Revision: D28896796 Pulled By: priteshrnandgaonkar fbshipit-source-id: d5a2f10d42fa91218f853cdfb1920a10f438c697 --- react-native/ReactNativeFlipperExample/ios/Podfile | 1 + 1 file changed, 1 insertion(+) diff --git a/react-native/ReactNativeFlipperExample/ios/Podfile b/react-native/ReactNativeFlipperExample/ios/Podfile index 583d56733..581f9c8f2 100644 --- a/react-native/ReactNativeFlipperExample/ios/Podfile +++ b/react-native/ReactNativeFlipperExample/ios/Podfile @@ -1,5 +1,6 @@ require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' +source 'https://github.com/CocoaPods/Specs' platform :ios, '10.0'