iOS: Map make install to xcodebuild build for the iOS simulator

The xcodebuild tool only supports the install action for devices, not
for the iOS simulator platform.

Change-Id: I47e8bb7d44962bd4a433a314fa9d315ed3683ca6
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
This commit is contained in:
Tor Arne Vestbø 2015-11-26 14:19:55 +01:00 committed by Simon Hausmann
parent 7944706857
commit 5c446031c3

View File

@ -40,6 +40,10 @@ $(EXPORT_SUBTARGETS): % : %-build
%-install: ACTION = install %-install: ACTION = install
%-install: xcodebuild-% ; %-install: xcodebuild-% ;
# iOS Simulator doesn't support archiving
%-iphonesimulator-install: ACTION = build
iphonesimulator-install: ACTION = build
# Limit check to a single configuration # Limit check to a single configuration
%-iphoneos-check: check-iphoneos ; %-iphoneos-check: check-iphoneos ;
%-iphonesimulator-check: check-iphonesimulator ; %-iphonesimulator-check: check-iphonesimulator ;