DOCPORTAL: Update ios7 and tvos instructions

This updates the instructions for building the ios7 and tvos backends
using scummvm-ios7-libs-v3, utilizing the Apple XCFramework format for
the pre-compiled libraries.

Using scummvm-ios7-libs-v3 also enables use of the following
features:
 - faad
 - gif
 - mikmod
 - mpeg2
 - theoradec
 - vpx
This commit is contained in:
Lars Sundström 2023-04-14 08:26:17 +02:00
parent a6fa65e87a
commit 8583fb54a8
2 changed files with 6 additions and 7 deletions

View File

@ -20,7 +20,7 @@ What you'll need
- A Mac computer with Xcode installed. Xcode is a free App, available from the Mac App Store.
- An Apple Developer account. You can sign up for a free account on the `Apple Developer Member Center <https://developer.apple.com/membercenter/>`_ with your Apple ID.
- The ScummVM `iOS Libraries <https://downloads.scummvm.org/frs/build/scummvm-ios7-libs-v2.zip>`_ downloaded, and the zip file extracted.
- The ScummVM `iOS Libraries <https://downloads.scummvm.org/frs/build/scummvm-ios7-libs-v3.zip>`_ downloaded, and the zip file extracted.
.. note::
@ -47,11 +47,11 @@ Create a new directory called ``build`` at the same level as the repository you
mkdir build
Copy the contents of the ``scummvm-ios7-libs-v2`` folder you extracted earlier into the ``build`` directory, using either the Finder, or the command line as follows:
Move the contents of the ``scummvm-ios7-libs-v3`` folder you extracted earlier into the ``build`` directory, using either the Finder, or the command line as follows:
.. code-block::
cp -r ~/Downloads/scummvm-ios7-libs-v2/* ~/build/
mv ~/Downloads/frameworks ~/build/
If your downloaded iOS library folder is not in the Downloads folder as it is in the preceding example, change the path to where the folder actually is.
@ -76,7 +76,7 @@ It's time to generate the Xcode project. Run the following on the command line:
.. code::
../scummvm/devtools/create_project/xcode/build/Release/create_project ../scummvm --xcode --enable-fluidsynth --disable-nasm --disable-opengl --disable-theoradec --disable-mpeg2 --disable-taskbar --disable-tts --disable-fribidi
../scummvm/devtools/create_project/xcode/build/Release/create_project ../scummvm --xcode --use-xcframework --enable-faad --enable-fluidsynth --enable-gif --enable-mikmod --enable-mpeg2 --enable-vpx --disable-nasm --disable-opengl --disable-taskbar --disable-tts
The resulting directory structure looks like this:
@ -85,8 +85,7 @@ The resulting directory structure looks like this:
Home
|--scummvm
'--build
|-- include
|-- lib
|-- frameworks
|-- engines
'-- scummvm.xcodeproj

View File

@ -17,7 +17,7 @@ There are two ways to install ScummVM on an Apple TV depending on if building th
Building the project
************************************
Since the port for Apple TV shares the same code base as the iOS port the instructions for building the project is the same as for iOS. Follow the :doc:`./ios` with the differences that the `tvOS libraries <https://github.com/larsamannen/scummvm-tvos-libs-v1>`_ should be used instead and the ``ScummVM-tvOS`` target should be chosen in Xcode. Use the libraries in the ``appletv`` folder if building for real target and ``appletvsimulator`` if building for simulator. Note that the libraries are built without bitcode since it's not required since tvOS 16.
Since the port for Apple TV shares the same code base as the iOS port the instructions for building the project is the same as for iOS. Follow the :doc:`./ios` with the difference that the ``ScummVM-tvOS`` target should be chosen in Xcode.
Downloading and installing ScummVM
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^