iOS 11 Support (updated with zipfile containing cores)

Same I strong textbe easy

What is the likelyhood of being able to get the Tyrquake core compiled for IOS11?

Has the N64 core made it to iOS 11.2.6 yet?

Provenance for iOS/AppleTV supports n64 in the development version right now. I imagine support for the core (mupen64plus) will eventually find its way to the libretro core.

https://github.com/Provenance-Emu/Provenance

Iā€™m jailbroken on iOS 8.3. I want to upgrade to 11.3 as thereā€™s talk of a new exploit dropping this week. Jailbroken or not, will RetroArch run on 11.3?

I think the best jailbreak is on ios 8. Retroarch works on iOS 11 jailbroken and non-jailbroken decices. But if you update your device to iOS 11 then jailbreak it, you will face many bugs and slow performance.

Thanks for the reply. Compatibility with other apps is starting to lessen the further from currently signed OS I get.

Hello, Trying to build fresh from git. Iā€™m following the build instructions (had it working about a week ago). After building and launch - it locks up on tetrarch splash screen.

Iā€™m getting:

[RetroArch_iOS setViewType:]: unrecognized selector sent to instance 0x103014c00ā€™ *** First throw call stack: (0x181d52d8c 0x180f0c5ec 0x181d60098 0x18be42db0 0x181d582d4 0x181c3e41c 0x100e8e7f8 0x1010afed8 0x100edbbf4 0x100edbb0c 0x1010a047c 0x100ebbc74 0x100ed8c08 0x100ed84ac 0x100eedbbc 0x100f22b14 0x1010dd3ec 0x101018c7c 0x101019d80 0x100f219b8 0x100f21954 0x100e976f8 0x18b95ee24 0x18b95e914 0x18b92b5e0 0x18bf5bb1c 0x18b92add0 0x18b92ac6c 0x18b929afc 0x18c5bf84c 0x18b9291ec 0x18c3a4ac8 0x18c4f2bf8 0x18b928c0c 0x18b9285a8 0x18b9255e0 0x18b925330 0x184553470 0x18455bd6c 0x10165919c 0x1016657cc 0x184587878 0x18458751c 0x184587ab8 0x181cfb404 0x181cfac2c 0x181cf879c 0x181c18da8 0x183bfd020 0x18bc35758 0x100e98eac 0x1816a9fc0) libc++abi.dylib: terminating with uncaught exception of type NSException

it seems to be locking up in ui_cocoatouch.m here: int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, NSStringFromClass([RApplication class]), NSStringFromClass([RetroArch_iOS class])); } }

Any thoughts?

Thanks!

@basis I want to bump your issue as I did the same as you and got that same exact exception thrown on the same line.

  1. Fresh git clone for both retroarch and libretto-super.
  2. Built following instructions @ https://docs.libretro.com/compilation/ios/ with latest XCode.

Only deviation from doc was to use iOS 11 project. I included a couple cores (stella, gpsp, snes9x2010, fceumm) that all built cleanly and were signed properly.

Any advice would be appreciated.

I switched to the 1.7.3 tag and was able to build and run with the same process. Makes me think something broke between the 1.7.3 tag and HEADā€¦

Sorry for the triple postā€¦

Had some time so did some digging. Exact point of failure is in RetroArch/gfx/drivers_context/macos_ctx.m:294

#if defined(HAVE_COCOATOUCH)
  case GFX_CTX_OPENGL_ES_API:
     [apple_platform setViewType:APPLE_VIEW_TYPE_OPENGL_ES];
     break;

I was just looking into fixing this when trying to build for 1.7.4.

I think the iOS version shouldnā€™t be using RetroArch/gfx/drivers_context/macos_ctx.m - this has the Metal renderer that I don;'t think is supported in iOS yet.

I tried switching it back to use the old gl driver: #include "../gfx/drivers_context/cocoa_gl_ctx.m"

But doing this crashed the app and I donā€™t know what the cause of it yet. I;'ll try to dig around and ask in discord or something.

It looks like some fundamental change was done on graphics driver loading for the apple platform, but the work was done to support macOS but not iOSā€¦yet I think. I know someone was creating the metal renderer and was planning on adding iOS support later down the line but it looks like it just hasnā€™t happened yet.

Hi, my little fix to run the last build from the git (1.7.5) on iOS : https://github.com/libretro/RetroArch/issues/7256

Run now perfectly on iOS 9-10-11.

If anyone have a little pack with all *.dylib compiled ARM64 CORES and their ā€œlatest updateā€ it will be very appreciated.

EDIT : New build is on the GIT with a fix for the iOS version in waiting for a full working METAL render support will be added to iOS, so all is ok now, just compile as usual and run :wink:

More details here : https://github.com/libretro/RetroArch/pull/7258

1 Like