Difference between revisions of "Compiling ScummVM/iPhone"

Jump to navigation Jump to search
→‎Compile and Deploy: Add comment about the need to disable bitcode generation option
m (Text replacement - "</source>" to "</syntaxhighlight>")
(→‎Compile and Deploy: Add comment about the need to disable bitcode generation option)
(3 intermediate revisions by the same user not shown)
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, extract the [https://www.scummvm.org/frs/build/scummvm-ios7-libs.zip iOS libraries package] and generate the Xcode project
Create a build directory:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cd ../../../..
cd ../../../..
Line 34: Line 34:
</syntaxhighlight>
</syntaxhighlight>


Download the [https://www.scummvm.org/frs/build/scummvm-ios7-libs.zip iOS libraries package] and extract them in the build directory:
Download the [https://www.scummvm.org/frs/build/scummvm-ios7-libs-v2.zip iOS libraries package] and extract them in the build directory:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
unzip ~/Downloads/ScummVM-iOS-libraries.zip
unzip ~/Downloads/scummvm-ios7-libs-v2.zip
</syntaxhighlight>
</syntaxhighlight>


Generate Xcode project and open it:
Generate Xcode project and open it:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
../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
../scummvm/devtools/create_project/xcode/build/Release/create_project ../scummvm --xcode --enable-fluidsynth --disable-bink --disable-nasm --disable-opengl --disable-theora --disable-taskbar --disable-tts
</syntaxhighlight>
</syntaxhighlight>


Line 62: Line 62:
* In the project ''General'' settings you need to specify a unique ''Bundle Identifier'' (for example ''org.yourname.scummvm'').
* In the project ''General'' settings you need to specify a unique ''Bundle Identifier'' (for example ''org.yourname.scummvm'').
* You need to configure the ``Signing`` settings. Add an account by using your Apple ID if needed and then select it.
* You need to configure the ``Signing`` settings. Add an account by using your Apple ID if needed and then select it.
* You may need to disable bitcode generation in the build settings. This should already be disabled by default when you make a build specifically for your device, but it is enabled by default when you build for a ''Generic iOS Device''.


Then click on the Play button in the top left of the window to start the build. The App will be automatically installed on your device at the end of the build.
Then click on the Play button in the top left of the window to start the build. The App will be automatically installed on your device at the end of the build.
TrustedUser
2,147

edits

Navigation menu