Skip to content

Commit 3782836

Browse files
committed
Update Xcode version and simulators used in CI/Rakefile
1 parent 538ee81 commit 3782836

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defaults:
22
- &default-config
33
macos:
4-
xcode: 11.1.0
4+
xcode: 12.5.1
55
shell: /bin/bash --login -eo pipefail
66
environment:
77
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts

Rakefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/rake
22

3+
DESTINATIONS = {
4+
:ios_sim => "OS=14.5,name=iPhone 11,platform=iOS Simulator",
5+
:tvos_sim => "OS=14.5,name=Apple TV,platform=tvOS Simulator",
6+
}
37
## UTILS ##
48

59
def run(command, xcpretty: true)
@@ -14,11 +18,6 @@ def xcodebuild(scheme: '', sdk: '', destination: '', action: 'build')
1418
run %Q(xcodebuild -workspace Example/ReusableDemo.xcworkspace -scheme "#{scheme}" -sdk #{sdk} -destination="#{destination}" ONLY_ACTIVE_ARCH=NO #{action})
1519
end
1620

17-
DESTINATIONS = {
18-
:ios_sim => "OS=9.3,name=iPhone 6,platform=iOS Simulator",
19-
:tvos_sim => "OS=10.1,name=Apple TV 1080p,platform=tvOS Simulator",
20-
}
21-
2221
def install_pkg(pkg_url)
2322
tmppath = '/tmp/' + File.basename(pkg_url)
2423
sh("curl -Lo #{tmppath} #{pkg_url}")

0 commit comments

Comments
 (0)