Script to Compile the latest github for retroarch+cores for iOS

@xdccrlz Yeah, I miss @jet082 too! I think he would have figured out how to solve the JIT situation on iOS 64 bit by now if his laptop didn’t die last December…


To sign cores, I just create a RetroArch IPA with the cores I want to sign included (they can be in random folders inside the app, I create many folders like iOS9, iOS10 and so on and they get signed just fine…), and then use iOS App Signer

Then for the binary, I add entitlements by using ldid -S/path/to/the/entitlements.xml /path/to/RetroArch.app/RetroArch

Here are the entitlements file contents

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>platform-application</key>
	<true/>
	<key>com.apple.private.security.container-required</key>
	<false/>
	<key>com.apple.private.security.no-container</key>
	<true/>
	<key>com.apple.private.skip-library-validation</key>
	<true/>
</dict>
</plist>

Then I chown -R root:wheel the whole app, and chmod +s the binary to complete the sandbox escape!

Grand merci, monsieur! I’ll do it now!

1 Like

I mean I’m still here and still around… My laptop is still in the RMA process, as it has been since December. Razer is… A bit slow.

For what it is worth, I finally got through their red tape and actually sent my laptop in for repairs a week ago.

Yes, I had been trying to get them to honor my RMA request for the two+ months previous to that.

1 Like

@jet082 Glad to see you! @Weedy_Weed_Smoker No working( Are you build ipa from Xcode or command line? If I change only one file RetroArch in my app for the same from your app - all working. If I insert my dylib into your app/modules - it”s working. But my build working only in Xcode debug session(

@xdccrlz I build RetroArch with Xcode (on a macOS 10.15 virtual machine, from my macOS 10.13 Hackintosh)…

I build the cores from macOS 10.14 (in a virtual machine) as that’s the only version that compiles things like the MAME core properly with minimal setup!


My macOS 10.15 laptop is still dead (hi @jet082!…) but that was my primary build machine before that, so I had to move everything over to the Hackintosh…

BTW, very glad to see you here Jet! :slightly_smiling_face:

(Sorry for the double-post, I was unsure where to put this one:)

Hello, and many thanks for the work on iOS (Retroarch rules on my iPad) - however in my environment (iPad 3 jailed), the mednafen-psx core of both the Retroarch 1.8.5.ipa bundle and that one from the official Libretro buildbot does not work (“Cannot load Core”) !

I replaced it with the one from @Weedy_Weed_Smoker (his buildbot), which is Beetle PSX (0.9.44.1 a6c250c), et voila, it works again . So I assume that something recently broke Beetle PSX on my iPad.

Best, Stefan

What’s type of Jailbreak are you use? Checkrain have not this issue. Use it and all be good.

No it is iOS without jailbreak. Self-signed cores, all others work.

Edit 16 April 20: Compiled 0.9.44.1 dfab19a from current Github, works again :slight_smile:

May I ask for help how to compile mupen64plus-next in iOS with GLES3? The current recipe in Libretro-super compiles a gles2 core for me. Help would be much appreciated, the GLES3 Core looks much much better than my own compile! Many thanks!

1 Like

hey does this script have this updated dosbox core https://github.com/libretro/dosbox-svn ?

Hi There,

My apologies in advance for the very basic query… unfortunately I only a novice Xcode user through have done a spot of programming.

Thanks for this update - sure will help make iOS running smoother.

I’ve followed all but the final product! what do I do with the script?

Is it in >pkg>apple>iOS>script>build.cfg ?

Also on the files to redirect, I simply placed a placeholder folder ‘someDirectory’ within this folder (ditto>script:) are there other folders to update in the script:

def updateSomeDir(someDirectory): someGitDir = git.Repo(someDirectory) if eraseLocalChanges: try:

So finally – once all this is sorted, currently I run Xcode for iOS 11 and installs to my phone but without cores…

Thanks again, A.