Skip to content

Instantly share code, notes, and snippets.

@sebastianrothe
Last active April 18, 2019 13:46
Show Gist options
  • Save sebastianrothe/7d1f4f2455b0b72ade8f8e6300e3177e to your computer and use it in GitHub Desktop.
Save sebastianrothe/7d1f4f2455b0b72ade8f8e6300e3177e to your computer and use it in GitHub Desktop.
ScummVM Workspace preparations for iOS11 build on macOS Xcode9.1
#!/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
@tarokker
Copy link

tarokker commented Feb 3, 2018

EDIT: fixed - simply had to change the Product Name in build settings to ScummVM from scummvm. Cheers.

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment