Difference between revisions of "Compiling ScummVM/iPhone"

Jump to navigation Jump to search
m
→‎Creating the Xcode project: Add precision on build folder path
m (→‎Compile and Deploy: add a bit of details)
m (→‎Creating the Xcode project: Add precision on build folder path)
Line 27: Line 27:
''Note:'' you may need to run xcodebuild with sudo the first time ('sudo xcodebuild') if the Xcode command line tools are not yet installed. Command line tools can also be installed from Xcode or using 'sudo xcode-select --install'  
''Note:'' you may need to run xcodebuild with sudo the first time ('sudo xcodebuild') if the Xcode command line tools are not yet installed. Command line tools can also be installed from Xcode or using 'sudo xcode-select --install'  


Create a build directory:
Create a build directory. The commands below will create it at the same level as the scummvm directory:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cd ../../../..
cd ../../../..
Line 39: Line 39:
</syntaxhighlight>
</syntaxhighlight>


Generate Xcode project and open it:
Generate Xcode project and open it. Assuming you created the ''build'' folder at the same level as the ''scummvm'' directory, the command would be:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
../scummvm/devtools/create_project/xcode/build/Release/create_project ../scummvm --xcode --enable-fluidsynth --disable-nasm --disable-opengl --disable-theora --disable-taskbar --disable-tts
../scummvm/devtools/create_project/xcode/build/Release/create_project ../scummvm --xcode --enable-fluidsynth --disable-nasm --disable-opengl --disable-theora --disable-taskbar --disable-tts
</syntaxhighlight>
</syntaxhighlight>
If you created the ''build'' folder somewhere else (for example inside the ''scummvm'' directory) you will need to adapt the path to scummvm in the command above.


At this point your build directory should contain:
At this point your build directory should contain:
TrustedUser
2,147

edits

Navigation menu