Skip to content

Commit 2617b8c

Browse files
committed
Remove custom CocoaPods version?
1 parent f9bdfd6 commit 2617b8c

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

Diff for: .circleci/config.yml

+5-11
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,9 @@ jobs:
156156
name: Installing Yarn dependencies
157157
command: yarn --pure-lockfile --non-interactive --cache-folder ~/.cache/yarn
158158
- save-cache: *cache_save_yarn
159-
- restore_cache:
160-
key: 1-gems-{{ checksum "example/ios/Gemfile.lock" }}
161-
- run:
162-
name: Install CocoaPods
163-
command: cd example/ios && bundle check || bundle install --path vendor/bundle
164-
- save_cache:
165-
key: 1-gems-{{ checksum "example/ios/Gemfile.lock" }}
166-
paths:
167-
- vendor/bundle
168159
- run:
169-
name: Install pod dependencies
170-
command: cd example/ios && bundle exec pod install
160+
name: Install CocoaPods
161+
command: cd example/ios && pod install
171162
- run:
172163
name: Build iOS app
173164
command: yarn build:e2e:ios
@@ -196,6 +187,9 @@ jobs:
196187
- save-cache: *cache_save_gradle_build
197188

198189
# Build and test
190+
- run:
191+
name: Bundle
192+
command: react-native bundle --platform android --dev false --entry-file example/index.js --bundle-output example/android/app/src/main/assets/index.android.bundle --assets-dest example/android/app/src/main/res/
199193
- run:
200194
name: Build Android apk
201195
command: cd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release --max-workers 2 -x bundleReleaseJsAndAssets

Diff for: example/ios/Podfile

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
source 'https://cdn.cocoapods.org/'
21
platform :ios, '9.0'
32
require_relative '../../node_modules/@react-native-community/cli-platform-ios/native_modules'
43

0 commit comments

Comments
 (0)