Difference between revisions of "Compiling ScummVM/iPhone"

Jump to navigation Jump to search
m
→‎Creating the Xcode project: Add precision on build folder path
(→‎Creating the Xcode project: there doesn't seem to be a good reason to disable bink)
m (→‎Creating the Xcode project: Add precision on build folder path)
(One intermediate revision 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:
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:
Line 59: Line 61:
In Xcode you need to configure the scummvm project:
In Xcode you need to configure the scummvm project:
* Connect your iPhone or iPad to your Mac.
* Connect your iPhone or iPad to your Mac.
* Select your iOS device (iPhone or iPad) at the top of the window (in the title bar).
* Select your iOS device (iPhone or iPad) at the top of the window (in the title bar where initially an iOS simulator, such as ''iPhone 11'', would be selected).
* 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.
TrustedUser
2,147

edits

Navigation menu