Skip to content

Commit 4023eef

Browse files
committed
Launch simulator using xcrun instruments
1 parent fc4e389 commit 4023eef

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ cache:
88
before_install:
99
- export LANG=en_US.UTF-8
1010
- xcrun instruments -s devices
11-
- open -b com.apple.iphonesimulator
11+
- xcrun instruments -w "iPhone X (12.0) [" || true
1212
install:
1313
- make install
1414
before_script:
1515
- xcodebuild -workspace ICInputAccessory.xcworkspace -list
1616
script:
17-
- bundle exec rake ci:test
17+
- bundle exec rake "ci:test[12.0]"
1818
- make -B carthage
1919
- make -B docs
2020
notifications:

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def xcodebuild(params)
2222
%(-workspace ICInputAccessory.xcworkspace),
2323
%(-scheme #{params[:scheme]}),
2424
%(-sdk iphonesimulator),
25-
%(-destination 'name=iPhone 8,OS=#{params[:version] || "latest"}'),
25+
%(-destination 'name=iPhone X,OS=#{params[:version] || "latest"}'),
2626
%(#{params[:action]} | xcpretty -c && exit ${PIPESTATUS[0]})
2727
].join " "
2828
end

0 commit comments

Comments
 (0)