I’m guessing even this still requires that I use XCode.
It probably doesn't, as you practically never need Xcode for simple apps. From my experience, currently, you need Xcode to compile storyboards (NIB/XIB files) and bundle Assets.car (macOS BOM files); and compile Xcode projects, btw. I may be missing another important feature used in a lot of apps but otherwise for the most part you can build an iOS app without Xcode (or even macOS).
Hello-World iOS App in Assembly
11–20 of 62 posts
Re: Hello-World iOS App in Assembly
#12This kind of thing is how you actually learn what's under the hood. Everyone's building with React Native and Flutter, which is fine until something breaks. Then you're stuck Googling black magic. Starting from assembly teaches you the real cost of abstraction.
Is this really low level though? Because its hooking UIKit which is very high level relative to ASM. I'd be really curious to see an app draw on iOS without UIKit. I don't know if thats possible.
Re: Hello-World iOS App in Assembly
#13There is also an iOS app implemented in C here: https://stackoverflow.com/a/10290255/8427
Re: Hello-World iOS App in Assembly
#14This kind of thing is how you actually learn what's under the hood. Everyone's building with React Native and Flutter, which is fine until something breaks. Then you're stuck Googling black magic. Starting from assembly teaches you the real cost of abstraction.
Is this really low level though? Because its hooking UIKit which is very high level relative to ASM. I'd be really curious to see an app draw on iOS without UIKit. I don't know if thats possible.
Re: Hello-World iOS App in Assembly
#15This kind of thing is how you actually learn what's under the hood. Everyone's building with React Native and Flutter, which is fine until something breaks. Then you're stuck Googling black magic. Starting from assembly teaches you the real cost of abstraction.
Re: Hello-World iOS App in Assembly
#16Super cool! Would love to see the build/deploy steps needed.
Re: Hello-World iOS App in Assembly
#17Re: Hello-World iOS App in Assembly
#18Super cool! Would love to see the build/deploy steps needed.
xcrun -sdk iphoneos clang yellow.asm, pack it into an IPA and sign it
https://gist.github.com/anta40/60f62c803a091ad0415d60f8cac55...
Re: Hello-World iOS App in Assembly
#19Earlier quoted context omitted.
Is this really low level though? Because its hooking UIKit which is very high level relative to ASM. I'd be really curious to see an app draw on iOS without UIKit. I don't know if thats possible.
Of course it is. You just have to reimplement UIKit in ASM, no big deal…
Re: Hello-World iOS App in Assembly
#20This kind of thing is how you actually learn what's under the hood. Everyone's building with React Native and Flutter, which is fine until something breaks. Then you're stuck Googling black magic. Starting from assembly teaches you the real cost of abstraction.
This is an excellent argument for not using assembly, actually
Would I use it for production iOS app, no, I don't hate myself that much.