Thread with 13 posts
jump to expanded postholy shit i just built a legacy 32-bit iOS app from source using a legally clean, fully open-source, multi-platform iOS SDK and it actually managed to run on my jailbroken 32-bit iOS device (a 3rd-gen iPod touch)
this is a huge win for touchHLE development i'm so happy
please don't signal-boost this okay, it's not ready for prime time, though it is all public if you know where to look
this is also, by the way, entirely the result of the hard work of other touchHLE contributors, not us, for once! we merely dared to try the SDK on a real device
this is going to be so much less painful than running obsolete versions of Xcode on an incredibly obsolete version of OS X in an insufferably slow virtual machine stored on spinning rust, all on a passively-cooled laptop that, bless its heart, only has two cores, and it's Intel
damn you can't do dlsym(dlopen(0, 0), "objc_msgSend")
in a binary that hasn't linked libobjc, even with the dyld shared cache. i was really hoping that would work it'd be so funny. apple please make the dyld shared cache work like that. ignore the security folks they hate fun
dlsym(dlopen("/usr/lib/libobjc.A.dylib", 0), "objc_msgSend")
works though! yay.wav
what the fuck, modern macOS (Monterey, but allegedly also macOS 26) still has the ability to sync IPA files to iOS devices, sneakily hidden? if you open an iOS device in the Finder and drop an IPA file onto the “General” page, it actually installs?! i can't fucking believe this
it has been more than 8 years since iTunes last allowed you to sync apps (in .ipa
form) to iOS devices, and in the meantime iTunes has been slaughtered, the organs harvested from its quaking corpse and reanimated as unworthy “Music” and “Devices” apps, so this is astonishing
touchHLE 32-bit iOS toolchain demo video!!! exciting UIKit app!!! me rambling at the camera about dynamic linking!!! https://www.youtube.com/watch?v=7OJO7WXa5LU
and now, after many hours of effort to reorganise touchHLE's internals and properly fix the toolchain…
we can finally write completely ordinary objective-c code :)
@hikari @aramya Wow this is neat! I used to build Tor for iOS using the open source iphonedevonlinux toolchain but support stopped at iOS version 3.0 https://code.google.com/archive/p/iphonedevonlinux/wikis/Installation.wiki (and https://sid77.slackware.it/ios/ for context).
What’s the support status of this new toolchain? And do you also have any links to share around? 😄
@sid77 @aramya https://github.com/touchHLE/common-3.0-sdk
This SDK only really exists to serve touchHLE's particular needs, so while it can build C, Objective-C and C++ code, it doesn't for example provide headers for the vast majority of the Apple APIs (you have to provide them yourself), and you can only link against APIs that touchHLE actually implements.
https://theos.dev/ might be more practical but we have not tried it and cannot vouch for it.