From ab9b4b91714b4463f02e74634b933449a3fd4558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Thu, 14 Apr 2016 23:24:31 -0700 Subject: [ios] Specify simulator device MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default is iPhone 4 running iOS 8.1, which doesn’t seem to be the intended device. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a9a099c5e4..afcf99c4c1 100644 --- a/Makefile +++ b/Makefile @@ -56,8 +56,8 @@ iproj: $(IOS_PROJ_PATH) open $(IOS_WORK_PATH) test-ios: ios - ios-sim start - ios-sim launch build/ios-all/$(BUILDTYPE)-iphonesimulator/ios-test.app --verbose + ios-sim start --devicetypeid 'com.apple.CoreSimulator.SimDeviceType.iPhone-6,9.3' + ios-sim launch build/ios-all/$(BUILDTYPE)-iphonesimulator/ios-test.app --verbose --devicetypeid 'com.apple.CoreSimulator.SimDeviceType.iPhone-6,9.3' set -o pipefail && xcodebuild \ ARCHS=i386 ONLY_ACTIVE_ARCH=YES \ -configuration $(BUILDTYPE) -sdk iphonesimulator \ -- cgit v1.2.1