ppsspp/ios
Henrik Rydgård 3386f1e181 Merge pull request #8153 from angelXwind/SpringBoardAnimatedExit
Perform an animated exit to SpringBoard on iOS devices
2015-11-03 20:48:12 +01:00
..
assets Changed iOS icons to follow Apple directives (PNG24 with no transparency and no rounded corners). 2015-06-08 22:53:53 -03:00
iCade Added iCade support to the iOS build 2013-05-30 20:58:41 -05:00
AppDelegate.h iOS Objective-C code dump. 2013-02-18 00:05:16 +10:00
AppDelegate.mm Properly post lost_focus and got_focus notifications when iOS app resigns active state and gains active state. Fixes #7758 2015-05-27 02:35:09 -04:00
AudioEngine.h IOS: added audio output 2013-03-16 12:54:16 -07:00
AudioEngine.mm Buildfix android, misc other fixes, some include cleanup 2013-03-29 20:55:32 +01:00
ios.toolchain.cmake iOS: update few compiler path 2014-10-02 21:07:19 +07:00
iOSCoreAudio.cpp iOS Audio fixes 2013-06-25 16:18:16 -05:00
iOSCoreAudio.h iOS Audio fixes 2013-06-25 16:18:16 -05:00
main.mm Perform an animated exit to SpringBoard on iOS devices as opposed to simply terminating PPSSPP (which could be misinterpreted for a crash) 2015-11-03 13:57:10 -05:00
PPSSPP-Info.plist Update PPSSPP-Info.plist 2015-10-08 13:44:42 +09:00
PPSSPP-Prefix.pch iOS Objective-C code dump. 2013-02-18 00:05:16 +10:00
README.md Reenabled armv7s for iOS with JIT fixes 2013-06-20 11:44:59 -05:00
ViewController.h not need 2014-01-27 19:24:22 +04:00
ViewController.mm Override JIT setting in ppsspp.ini for JIT-incapable environments, fakesign PPSSPP binary via adhoc signing in order to prevent crash-at-launch on iOS 9, separate jailbreak detection logic from JIT support logic, temporary change to only enable JIT on iOS 8 and below. 2015-11-03 12:34:33 -05: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=../ios/ios.toolchain.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.