ppsspp/ios
2024-04-06 12:04:45 +02:00
..
assets Build: Recompress pngs using better zlib. 2021-04-11 11:09:18 -07:00
iCade Make some global string pointers const, not just the strings. 2023-12-29 14:09:45 +01:00
Settings.bundle Disable external display by default 2019-06-19 17:47:14 +08:00
AppDelegate.h Show root view controller on external display 2019-06-09 22:15:39 +08:00
AppDelegate.mm Change global UI messages to use an enum instead of strings. 2023-09-30 11:37:02 +02:00
AudioEngine.h IOS: added audio output 2013-03-16 12:54:16 -07:00
AudioEngine.mm Add samplerate argument to NativeMix 2023-03-24 14:48:53 +01:00
CameraHelper.h QT Api for Camera (Linux/macOS) 2020-02-10 08:47:55 +02:00
CameraHelper.mm Rename some system functions, merge the Launch* ones. 2023-03-21 12:22:59 +01:00
DisplayManager.h Auto switch between internal and external display 2019-06-11 01:24:58 +08:00
DisplayManager.mm Wrap the display globals in a struct (#16998) 2023-02-25 13:09:44 +01:00
iOSCoreAudio.h iOS Audio fixes 2013-06-25 16:18:16 -05:00
iOSCoreAudio.mm Add samplerate argument to NativeMix 2023-03-24 14:48:53 +01:00
Launch Screen.storyboard Update Launch Screen.storyboard 2019-01-06 14:42:49 +04:00
LocationHelper.h Add camera/location support for iOS 2020-01-25 16:54:45 +02:00
LocationHelper.mm Add camera/location support for iOS 2020-01-25 16:54:45 +02:00
macbundle.sh iOS/macOS : set bundle version 2020-05-01 21:36:55 +03:00
main.mm Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
PPSSPP-Info.plist Update PPSSPP-Info.plist 2023-02-28 20:47:26 +08:00
PPSSPP-Prefix.pch iOS Objective-C code dump. 2013-02-18 00:05:16 +10:00
PPSSPPUIApplication.h Add taptic feedback on virtual buttons 2018-01-14 13:38:18 -05:00
PPSSPPUIApplication.mm Renaming and file splitting 2023-03-06 16:42:50 +01:00
README.md fix ios build docs 2016-10-23 09:55:57 +07:00
SmartKeyboardMap.cpp Input event and device enums (#17514) 2023-05-26 18:40:13 +02:00
SmartKeyboardMap.hpp Input event and device enums (#17514) 2023-05-26 18:40:13 +02:00
ViewController.h iOS Share PPSSPP 2020-04-25 10:07:46 +03:00
ViewController.mm Control: Change internal interfaces to batch-process input axis updates 2023-08-31 11:55:53 +02:00

iOS Build Instructions

Prerequisites:

  • Xcode (from the Mac App Store) with command line tools installed
  • MacPorts (from macports.org); easiest to install with their package installers
  • cmake build system (from MacPorts); run "sudo port install cmake" from the command line

If you need to build ffmpeg yourself too, then you'll also need:

  • gas-preprocessor; download the zip from https://github.com/mansr/gas-preprocessor, unzip and from the command line run:

      sudo cp gas-preprocessor.pl /usr/bin/
      sudo chmod +rw /usr/bin/gas-preprocessor.pl
    
  • you may need pkg-config (from MacPorts); run "sudo port install pkgconfig" from the command line

Most of this is done from the command line:

Change directory to wherever you want to install ppsspp (eg. "cd ~"), and then clone the main ppsspp repository:

git clone https://github.com/hrydgard/ppsspp.git

Change directory to the newly created ppsspp directory and run:

git submodule update --init

The above command will pull in the submodules required by PPSSPP, including the native, ffmpeg, and lang directories. Included in the ffmpeg directory should be the necessary libs and includes for ffmpeg, so most people can skip the next command. However, if you need to recompile ffmpeg for some reason, change directory into ffmpeg and run (this will take a while):

./ios-build.sh

Change directory back up to the main ppsspp directory and do the following:

mkdir build-ios
cd build-ios
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/ios.cmake -GXcode ..

You now should have an Xcode project file in the build-ios directory named PPSSPP.xcodeproj. Open it up in Xcode and do Product->Build to build the debug version, or Product->Build For->Archiving to build the release version (which is much faster). If your iOS device is plugged in, you may be able to just Run in Xcode to install and test it. Otherwise, copy the PPSSPP app from build-ios/Debug-iphoneos/PPSSPP.app or build-ios/Release-iphoneos/PPSSPP.app to the /Applications directory on your device and from ssh or MobileTerminal do a "chmod +x PPSSPP" inside the PPSSPP.app directory. If this is the first time you've installed the PPSSPP app, you'll have to respring or restart your device for the icon to show up.