From dd5347ef29686cc02928243b571f11444ed4e6b9 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 30 Oct 2013 10:29:05 +0200 Subject: Build targets instead of a scheme which doesn't exist in a clean tree If you try to build in a tree fresh from a clone, with no manual build in Xcode done, there will be no "schemes", so the xcodebuild will fail. Instead, build the "targets". Change-Id: Ie2689880e66d1aaa97661970d2060f5935cfcf17 --- ios/CustomTarget_MobileLibreOffice_app.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ios') diff --git a/ios/CustomTarget_MobileLibreOffice_app.mk b/ios/CustomTarget_MobileLibreOffice_app.mk index e3e95c1b09ed..e2119a11a72d 100644 --- a/ios/CustomTarget_MobileLibreOffice_app.mk +++ b/ios/CustomTarget_MobileLibreOffice_app.mk @@ -15,7 +15,8 @@ BUILDID :=$(shell cd $(SRCDIR) && git log -1 --format=%H) #- Macros --------------------------------------------------------------------- define MobileLibreOfficeXcodeBuild - CC=;xcodebuild -project MobileLibreOffice/MobileLibreOffice.xcodeproj -scheme MobileLibreOffice -arch armv7 -configuration $(if $(ENABLE_DEBUG),Debug,Release) $(1) >/dev/null + CC=;xcodebuild -project shared/ios_sharedlo.xcodeproj -target ios_sharedlo -arch armv7 -configuration $(if $(ENABLE_DEBUG),Debug,Release) $(1) >/dev/null + CC=;xcodebuild -project MobileLibreOffice/MobileLibreOffice.xcodeproj -target MobileLibreOffice -arch armv7 -configuration $(if $(ENABLE_DEBUG),Debug,Release) $(1) >/dev/null endef #- Targets -------------------------------------------------------------------- -- cgit