ppsspp/ios
2024-05-23 09:41:00 +02:00
..
assets Create a .xcassets folder for the icons, link it properly 2024-05-20 10:04:11 +02:00
assets.xcassets Update icons 2024-05-20 10:04:11 +02:00
iCade Make some global string pointers const, not just the strings. 2023-12-29 14:09:45 +01:00
MoltenVK@ad018e8664 Add MoltenVK.xcframework as a submodule 2024-05-23 09:41:00 +02:00
Settings.bundle Disable external display by default 2019-06-19 17:47:14 +08:00
AppDelegate.h Delegate shouldn't keep the specific ViewController type 2024-05-21 14:57:30 +02:00
AppDelegate.mm Delegate shouldn't keep the specific ViewController type 2024-05-21 14:57:30 +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 Remove a redundant function 2024-05-22 16:43:18 +02:00
CameraHelper.mm Remove a redundant function 2024-05-22 16:43:18 +02:00
Controls.h Extract the iCade code to Controls.mm 2024-05-22 12:11:51 +02:00
Controls.mm Buildfix, cleanup use of long-deprecated stuff. 2024-05-22 13:34:17 +02:00
DisplayManager.h Auto switch between internal and external display 2019-06-11 01:24:58 +08:00
DisplayManager.mm Move controller setup to Controls.mm 2024-05-22 11:18:03 +02:00
Export.plist Rename ExportFree.plist to Export.plist 2024-05-20 10:04:11 +02:00
iosbundle.sh Add a little perl script to try to convert version numbers to Apple-compatible format. 2024-05-20 10:04:11 +02:00
iOSCoreAudio.h iOS Audio fixes 2013-06-25 16:18:16 -05:00
iOSCoreAudio.mm Minor cleanup 2024-05-22 10:38:40 +02:00
Launch Screen.storyboard Minor cleanup (remove redundant stuff from the storyboard) 2024-05-23 09:41:00 +02: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 Messy hackery, we now seem to be able to export 2024-05-20 10:04:11 +02:00
main.mm Remove the last non-interface function on the ViewController 2024-05-22 16:43:18 +02:00
PPSSPP-AppStore.plist Create a .xcassets folder for the icons, link it properly 2024-05-20 10:04:11 +02:00
PPSSPP-AppStoreGold.plist Create a .xcassets folder for the icons, link it properly 2024-05-20 10:04:11 +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 Create a .xcassets folder for the icons, link it properly 2024-05-20 10:04:11 +02:00
README.md Minor cleanup (remove redundant stuff from the storyboard) 2024-05-23 09:41:00 +02: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
version-transform.pl Add a little perl script to try to convert version numbers to Apple-compatible format. 2024-05-20 10:04:11 +02:00
ViewController.h Remove the last non-interface function on the ViewController 2024-05-22 16:43:18 +02:00
ViewController.mm Make linking to MoltenVK work 2024-05-23 09:41:00 +02:00
ViewControllerCommon.h Remove the last non-interface function on the ViewController 2024-05-22 16:43:18 +02:00

The Old iOS Build Instructions

Important Notes

These instructions have not been updated for a long time and may be outdated.

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.