Skip to content

Commit 44b1ccc

Browse files
Bump XCode version on iOS CI jobs
1 parent eaff9d6 commit 44b1ccc

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.circleci/config.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -87,35 +87,38 @@ jobs:
8787

8888
test_ios:
8989
macos:
90-
xcode: "10.2.0"
91-
working_directory: ~/project/InstabugSample/ios
90+
xcode: "12.3.0"
91+
working_directory: ~/project/InstabugSample
9292
environment:
9393
FL_OUTPUT_DIR: output
9494
steps:
9595
- checkout:
9696
path: ~/project
9797
- run:
98-
name: Install node_modules
99-
command: cd .. && yarn
98+
name: Install CocoaPods
99+
command: sudo gem install cocoapods
100100
- run:
101-
name: Fetch CocoaPods Specs
102-
command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
101+
name: Install node_modules
102+
command: yarn
103103
- run:
104-
name: Install CocoaPods
105-
command: pod install
104+
name: Install Pods
105+
command: cd ios && pod install
106106
- run:
107107
name: Build and run tests
108-
command: xcodebuild -workspace InstabugSample.xcworkspace -scheme InstabugSample -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone X,OS=12.2' test | xcpretty
108+
command: cd ios && xcodebuild -allowProvisioningUpdates -workspace InstabugSample.xcworkspace -scheme InstabugSample -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max,OS=14.3' test | xcpretty
109109

110110
e2e_ios:
111111
macos:
112-
xcode: "10.2.0"
112+
xcode: "12.3.0"
113113
working_directory: ~/project/InstabugSample
114114
environment:
115115
FL_OUTPUT_DIR: output
116116
steps:
117117
- checkout:
118118
path: ~/project
119+
- run:
120+
name: Install CocoaPods
121+
command: sudo gem install cocoapods
119122
- run:
120123
name: Install React Native CLI
121124
command: npm install -g react-native-cli
@@ -129,10 +132,7 @@ jobs:
129132
name: Install Node Packages
130133
command: yarn
131134
- run:
132-
name: Fetch CocoaPods Specs
133-
command: cd ios && curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
134-
- run:
135-
name: Install CocoaPods
135+
name: Install Pods
136136
command: cd ios && pod install
137137
- run:
138138
name: Detox - Build Release App

0 commit comments

Comments
 (0)