Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
f0033f41
Commit
f0033f41
authored
Nov 14, 2014
by
Carola
Browse files
build the workspace instead of the project
parent
01566c31
Changes
1
Hide whitespace changes
Inline
Side-by-side
compileVLCforiOS.sh
View file @
f0033f41
...
...
@@ -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
buildxc
odeproj
"VLC for iOS"
"vlc-ios"
buildxc
workspace
"VLC for iOS"
"vlc-ios"
info
"Build completed"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment