Skip to content

Commit 2325155

Browse files
committed
Automatically detect SDK version.
1 parent 95aaa7a commit 2325155

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

libogg_build.bash

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
IDZ_OGG_VERSION=1.3.2
22

3-
#Update IDZ_OGG_SDK_VERSION to the version available on your mac
4-
#Run xcodebuild -showsdks to see the iOS version available on your mac
5-
echo Available SDKs
6-
xcodebuild -showsdks
7-
8-
#On GitHub this needs to be an SDK version supported by Travis
9-
IDZ_OGG_SDK_VERSION=8.1
3+
#Automatically set the current sdk version for ios
4+
IDZ_OGG_SDK_VERSION=`xcrun --sdk iphoneos --show-sdk-version`
105

116
pushd $IDZ_BUILD_ROOT
127
mkdir -p libogg/$IDZ_OGG_VERSION

0 commit comments

Comments
 (0)