Commit f0033f41 authored by Carola Nitz's avatar Carola Nitz

build the workspace instead of the project

parent 01566c31
......@@ -71,6 +71,27 @@ buildxcodeproj()
IPHONEOS_DEPLOYMENT_TARGET=${SDK_MIN} > ${out}
}
buildxcworkspace()
{
local target="$2"
if [ "x$target" = "x" ]; then
target="$1"
fi
info "Building the workspace $1 ($target, ${CONFIGURATION})"
local extra=""
if [ "$PLATFORM" = "Simulator" ]; then
extra="ARCHS=i386"
fi
xcodebuild -workspace "$1.xcworkspace" \
-scheme "vlc-ios" \
-sdk $PLATFORM$SDK \
-configuration ${CONFIGURATION} ${extra} \
IPHONEOS_DEPLOYMENT_TARGET=${SDK_MIN} > ${out}
}
while getopts "hvsdnluk:" OPTION
do
case $OPTION in
......@@ -256,6 +277,6 @@ info "installing pods"
pod install
# Build the Aspen Project now
buildxcodeproj "VLC for iOS" "vlc-ios"
buildxcworkspace "VLC for iOS" "vlc-ios"
info "Build completed"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment