Developing and Debugging for iOS 10

Hi libretro,

I pulled cores and built RetroArch for iOS a few days ago. I built a few cores and copied them into the modules folder in the iOS project and built/deployed to my phone. I am familiar with the iOS 9 method of signing the cores and copying them over after build, and from other forum posts it seemed like with iOS 10 that would no longer work and building them in was the right way to do it moving forward.

When looking at the list of cores on my phone, the majority of the time the files appeared as raw filenames, and when loading the core it seems to fail and the UI still reports No Core. I saw the cores by their defined names rather than filenames two or three times, but I don’t know how to make this happen consistently. In that state they seem to load successfully but still seemed like functionality was not fully there, but I haven’t been able to get to that point consistently for further testing.

I’d like to debug what’s going on - does anyone have any guidance at all as far as how to debug the calls into the cores and how to set break points or break on errors inside the .dylib files? I’m happy to write up the steps for the wikis once I have a working set of steps. Even just pointers to where I should research further would be great, I want to get to the point where I can be productive with the codebase and help somehow.

Big thanks for any help!

I think Incognit from the Apple subforum is the expert on that. I would suggest asking him.

Just got a great answer, but still hazy on the debugging piece - will continue discussing over there. Thanks for the tip.