Last active
April 18, 2019 13:46
-
-
Save sebastianrothe/7d1f4f2455b0b72ade8f8e6300e3177e to your computer and use it in GitHub Desktop.
ScummVM Workspace preparations for iOS11 build on macOS Xcode9.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LIBS_ZIP_URL="https://www.scummvm.org/frs/build/scummvm-ios7-libs.zip" | |
LIBS_ZIP_FILENAME="scummvm-libs.zip" | |
GIT_REPO_URL="https://github.com/scummvm/scummvm.git" | |
# Clone the repository | |
git clone "$GIT_REPO_URL" | |
# Compile create_project | |
(cd scummvm/devtools/create_project/xcode; xcodebuild) | |
# Create the workspace | |
mkdir build | |
cd build | |
curl -L "$LIBS_ZIP_URL" -o "$LIBS_ZIP_FILENAME" | |
unzip "$LIBS_ZIP_FILENAME" | |
rm "$LIBS_ZIP_FILENAME" | |
../scummvm/devtools/create_project/xcode/build/Release/create_project ../scummvm --xcode --enable-fluidsynth --disable-bink --disable-mt32emu --disable-nasm --disable-opengl --disable-theora --disable-taskbar --disable-libcurl --disable-sdlnet | |
open scummvm.xcodeproj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WoW! I love you! I spent 8 hours trying to figure why it wasn't working ! I always got 'internal api error' or 'cannot write to device' while trying to build on device.
Then i read your message and change product name to "ScummVM" and it magically worked!
Is there a reason for that?? Blame on xCode and Apple and their cryptic error message!!
This post should be sticky on the scummvm website :)
Thanks a lot again!