ppsspp/ios
Henrik Rydgård a831cab14c
Remove unmotivated check preventing texture ini creation on mobile. (#15647)
* Remove unmotivated check preventing  texture ini creation on mobile.

Fixes #15644

* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.

* Avoid the need to ifdef around calls to SystemToast

* UWP buildfix (and some warning fixes).

And possibly libretro fix

* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
..
assets Build: Recompress pngs using better zlib. 2021-04-11 11:09:18 -07:00
iCade iOS: convert all obj-c source code to ARC 2017-12-31 19:36:47 -08: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 Move NativeApp.h to Common/System, split into NativeApp.h and System.h 2020-10-04 11:42:16 +02: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
CameraHelper.h QT Api for Camera (Linux/macOS) 2020-02-10 08:47:55 +02:00
CameraHelper.mm QT Api for Camera (Linux/macOS) 2020-02-10 08:47:55 +02:00
DisplayManager.h Auto switch between internal and external display 2019-06-11 01:24:58 +08:00
DisplayManager.mm Move NativeApp.h to Common/System, split into NativeApp.h and System.h 2020-10-04 11:42:16 +02:00
iOSCoreAudio.h iOS Audio fixes 2013-06-25 16:18:16 -05:00
iOSCoreAudio.mm Change iOSCoreAudio from cpp to mm. Explicitly activate the audio session. Always set the same mDataByteSize. 2017-12-31 00:45:05 -08: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 Remove unmotivated check preventing texture ini creation on mobile. (#15647) 2022-07-10 22:34:44 +02:00
PPSSPP-Info.plist iOS: Undo app ID change. 2021-02-20 07:03:39 -08:00
PPSSPP-Prefix.pch
PPSSPPUIApplication.h Add taptic feedback on virtual buttons 2018-01-14 13:38:18 -05:00
PPSSPPUIApplication.mm Move most GPU things to Common. 2020-10-04 23:39:02 +02:00
README.md fix ios build docs 2016-10-23 09:55:57 +07:00
SmartKeyboardMap.cpp Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
SmartKeyboardMap.hpp add support for smart keyboard 2017-09-04 15:05:46 +08:00
SubtleVolume.h Use tabs for indentation 2018-04-08 13:29:38 -04:00
SubtleVolume.mm Use tabs for indentation 2018-04-08 13:29:38 -04:00
ViewController.h iOS Share PPSSPP 2020-04-25 10:07:46 +03:00
ViewController.mm Core: Track names of connected pad devices. 2022-07-04 19:14:04 -07: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.