1. Using your favorite text editor, copy and paste the following code and save as prepare_workspace.sh (the code below is modified and isn't the one found online. If you have a previous prepare_workspace.sh file delete it and use this!):
Code: Select all
#!/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
3. Open a new terminal window, nevigate to your ScummVM folder (cd ScummVM) and copy-paste the below line then press enter:
Code: Select all
chmod +x prepare_workspace.sh ; ./prepare_workspace.sh
One you do that, compile and it will work 100%.
BONUS FIX TO APP ICON
The app icon for ScummVM has been messed up from day one. The creators use a rounded corner image instead of a boxed image which makes it look off in iOS. See comparison here (original on the left): https://i.imgur.com/bLW59O3.jpg.
To fix do the following:
Download my fixed app icon images: https://drive.google.com/open?id=1R0QrN ... _vfHsKDmxi then unpack replacing all older images into:
/ScummVM/scummvm/dists/ios7/Images.xcassets/AppIcon.appiconset/
Enjoy the classics!