Skip to content

Commit 9ccbb09

Browse files
build.sh: Update links to SDK
The download step failed with an error 404 Not Found, because it tried to fetch: https://github.com/artoolkitx/artoolkitx/releases/download/1.0/artoolkitX%20for%20iOS%20v1.0.dmg Updated the links to the SDK releases so that they correspond to their location on GitHub. See also https://github.com/artoolkitx/artoolkitx/releases
1 parent 8269f49 commit 9ccbb09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ if [ "$OS" = "Darwin" ] ; then
136136
if [ $BUILD_MACOS ] ; then
137137

138138
# Fetch the ARX.framework from latest build into a location where Xcode will find it.
139-
SDK_FILENAME="artoolkitX for macOS v${SDK_VERSION_PRETTY}.dmg"
139+
SDK_FILENAME="artoolkitX.for.macOS.v${SDK_VERSION_PRETTY}.dmg"
140140
curl -f -o "${SDK_FILENAME}" --location "${SDK_URL_DIR}$(rawurlencode "${SDK_FILENAME}")"
141141
hdiutil attach "${SDK_FILENAME}" -noautoopen -quiet -mountpoint "SDK"
142142
rm -rf depends/macOS/Frameworks/ARX.framework
@@ -156,7 +156,7 @@ fi
156156
if [ $BUILD_IOS ] ; then
157157

158158
# Fetch libARX from latest build into a location where Xcode will find it.
159-
SDK_FILENAME="artoolkitX for iOS v${SDK_VERSION_PRETTY}.dmg"
159+
SDK_FILENAME="artoolkitX.for.iOS.v${SDK_VERSION_PRETTY}.dmg"
160160
curl -f -o "${SDK_FILENAME}" --location "${SDK_URL_DIR}$(rawurlencode "${SDK_FILENAME}")"
161161
hdiutil attach "${SDK_FILENAME}" -noautoopen -quiet -mountpoint "SDK"
162162
rm -rf depends/iOS/include/ARX/
@@ -233,7 +233,7 @@ if [ $BUILD_WINDOWS ] ; then
233233
mkdir build-windows
234234
fi
235235

236-
SDK_FILENAME="artoolkitX for Windows v${SDK_VERSION_PRETTY}.dmg"
236+
SDK_FILENAME="artoolkitX.for.Windows.v${SDK_VERSION_PRETTY}.dmg"
237237
curl -f -o "${SDK_FILENAME}" --location "${SDK_URL_DIR}$(rawurlencode "${SDK_FILENAME}")"
238238

239239
(cd Windows

0 commit comments

Comments
 (0)