"You can't use bitcode to recompile an ARM iOS app for x86_64 macOS" — hold my beer^WRed Bull [wherein I extract the bitcode from an arm64 iOS binary and recompile it as x86_64 and run it on macOS]pic.twitter.com/WsdSaxSQtm
-
-
I might come back and try something more complex tomorrow, but I hope I’ve shown that bitcode absolutely could be a BFD re the next two big Apple transitions: iOS apps on the Mac, and macOS on ARM. It can both recompile iOS apps for x86 Macs, and recompile x86 Mac apps for ARM
Show this thread -
OK here's a bit more of an example app; input: arm64 iOS app, output x86_64 Marzipan app. Uses the bitcode in the ARM binary and recompiles it for Intelpic.twitter.com/pHAvKlRZ4b
Show this thread -
-
I’ll compose a blog post tomorrow with a little more detail, if I don’t get distracted first
Show this thread
End of conversation
New conversation -
-
-
Is bitcode the same as the llvm IR?
- End of conversation
New conversation -
-
-
You’re telling me there won’t even be a checkbox in Xcode for this transition.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
That escalated quickly!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
So would this technique work to convert some arbitrary iOS app that I just grabbed from the App Store? I assume they’re thinned for download so no bitcode... but this thread is making me question all my assumptions
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
-
To be fair, it didn’t used to work that way, but a lot of work went into LLVM to enable less-restricted retargeting.
-
How does it handle the ABI differences in variadic functions? iOS's arm64 variadic ABI is rather unique.
End of conversation
New conversation -
-
-
Seems to me there is a utility that could come out of this work, where iOS frameworks and apps can have simulator versions made relatively easily (as long as you’ve checked bitcode).
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It all sound good, but VM that run windows on top of MacOS? They will exist in a Marzipan and arm world?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Uhh maybe I misunderstand (and it’s probably not worth it this close to dub dub) but could this allow marzipanification or random App Store apps?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
All I understood was, Let’s take some apple slices convert them to whole apples and run it through the oven so that you can get a blueberry pie.

Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I sense a new 12” MacBook with an Ax CPU lurking in Cupertino ;)
-
If this laptop is running a legacy-free macOS that will run only App Store apps, I bet money it won’t be branded a Mac
End of conversation
New conversation -
-
-
When do you think we'll get the transition announcement? I had previously thought WWDC 19 but now thinking that's too soon. Next summer?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
This is just super impressive tech prowess. Genuine kudos
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
