Would it be possible to test my App for iPhone wit...
# compose
a
Would it be possible to test my App for iPhone without MacOS with an actual iPhone?
🚫 3
j
No. You need macOS to build an iOS app. This restriction is put in place by Apple.
e
it is possible to test in a simulator without an iPhone, but that still requires macos
l
If you can share almost all code with Android, and only need to test so often, you can build the IPA on some CI solution with macos builders and testflight. Definitely not a solution for everyday testing, but if you can't get access to a mac, it's a way to test the app.
a
Okay, thank you
I don't have the budget for a Mac right now :/
a
Hackintoshing might be an option 😉
a
Hmm maybe, I've seen that someone made it available via KVM so I'll try that first. Thank you :)
a
Perf might not be the best unless you’re passing through a lot of hardware
l
I read an issue in compose multiplatform the other day that seems to indicate that Compose iOS apps will crash on a hackintosh due to some limitation of Metal support on non-mac hardware.
a
Metal is supported though, and real iOS HW is involved
So no simulator would be required to render metal on the hackintosh anyway
l
I used to use kvm macos emulators to develop KMM apps using SwiftUI no problem on my Arch Linux desktop.
a
I mean, I have an AMD RX 6900 XTX in my machine, so it will support modern metal fine
Whenever I tried KVM for macOS perf has sucked on my machine but that was years ago
Things could have changed since
j
As long as you can pass through a supported GPU, KVM macOS can work well. Probably the only thing I've found lacking is nested virtualization, so you can't run Android emulators.
Nested virtualization may still be possible with an Intel CPU even. I have an AMD Ryzen myself though.
a
Yeah, that’s what I was saying earlier, it requires a lot of passthrough
For it to run decently