Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to build for iOS
08-29-2013, 09:35 PM
Post: #11
RE: How to build for iOS
(08-28-2013 08:50 PM)bsauvage Wrote:  Well after refreshing the source from Git, it now WORKS!

Updated info in the main post shortly.

Thanks to all !!!!!

now that it has built I'm trying to have it run directly from XCode to the attached iOS device.
First I remove existing ppsspp app (from AngelXwind's repo) and reboot, as otherwise Xcode complains the app is already there with a different bundle.

If you want to run both your custom build and the build from AngelXwind, you only need to change one thing:
- In the left pane of the project window, click on the Folder icon to show the Project Navigator, if not already visible.
- Scroll all the way to the top to where you can see the main PPSSPP project and select it.
- Now in the Right/Middle/Main panel, you should see the Project and all the Targets. Select the PPSSPP Target.
- Choose the "Info" tab, and you should see the Custom iOS Target Properties.
- You should see a "Bundle identifier" key with a value of "com.rock88dev.PPSSPP". Change this value to anything else.

You should then be able to run both simultaneously.

(08-28-2013 08:50 PM)bsauvage Wrote:  Then I try Run -> builds, transfers to the device, then opens up. However:
-seems the Run command only allows to build a Debug build, not a release build (faster) -> possible to change that default behaviour ?

Yes. In the top left of the project window next to the stop button is the Scheme double-dropdown. It probably says something like "ALL_BUILD > iOS Device". Click where it says "ALL_BUILD" and select the PPSSPP Scheme. Then click on it again (where it now says "PPSSPP"), and select "Edit Scheme". In the window sheet that comes up, select "Run PPSSPP.app" in the list on the left, and then the "Info" tab on the right. Change the Build Configuration Setting to Release. Now when you hit run, it will compile and run the "Release" build.

(08-28-2013 08:50 PM)bsauvage Wrote:  -despite having refreshed the git submodules before compiling, the built version is outdated (0.9.1-129 as opposed to -245 now, I believe)-> is it because I built the debug build?

I'm not even entirely sure where that version is set. It's possible it's set from the cmake script. Did you re-run the cmake script to recreate the project file when you last updated from git, or did you just open up the previously made project file and run from there?

(08-28-2013 08:50 PM)bsauvage Wrote:  -when building the archive/release version and after having transferred it manually (using iFunBox) and rebooted, the app crashes on open; my guess is because my chmod +x hasn't been successful (I changed to rwx using iFile) -> what's the easiest way to correctly change permissions ?

Thanks!

I just ssh into my device to update the permissions. However, if you modify the scheme like I explain above to compile and install the Release build, you won't have to worry about this.

HTH,
Jake
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to build for iOS - bsauvage - 08-26-2013, 01:55 PM
RE: How to build for iOS - [Unknown] - 08-26-2013, 02:11 PM
RE: How to build for iOS - bsauvage - 08-26-2013, 10:07 PM
RE: How to build for iOS - bsauvage - 08-27-2013, 03:52 AM
RE: How to build for iOS - bsauvage - 08-27-2013, 11:23 AM
RE: How to build for iOS - jtraynham - 08-27-2013, 12:16 PM
RE: How to build for iOS - bsauvage - 08-27-2013, 10:07 PM
RE: How to build for iOS - jtraynham - 08-27-2013, 10:46 PM
RE: How to build for iOS - bsauvage - 08-28-2013, 11:10 AM
RE: How to build for iOS - bsauvage - 08-28-2013, 08:50 PM
RE: How to build for iOS - jtraynham - 08-29-2013 09:35 PM
RE: How to build for iOS - bsauvage - 08-29-2013, 09:51 PM
RE: How to build for iOS - bsauvage - 09-05-2013, 01:58 PM
RE: How to build for iOS - jtraynham - 09-05-2013, 06:42 PM
RE: How to build for iOS - bsauvage - 09-13-2013, 01:04 PM
RE: How to build for iOS - jtraynham - 09-13-2013, 01:25 PM
RE: How to build for iOS - bsauvage - 09-13-2013, 01:46 PM
RE: How to build for iOS - jtraynham - 09-13-2013, 05:21 PM
RE: How to build for iOS - bsauvage - 09-13-2013, 10:55 PM
RE: How to build for iOS - pandy - 10-11-2013, 02:26 AM
RE: How to build for iOS - bsauvage - 02-02-2014, 05:32 AM
RE: How to build for iOS - kaienfr - 02-24-2014, 12:04 AM
RE: How to build for iOS - [Unknown] - 05-23-2016, 04:16 PM
RE: How to build for iOS - AlHego - 05-23-2016, 09:33 PM

Forum Jump: