I was hoping to build a small utility app that let's you send push notifications to the simulator for testing/debugging via xcrun simctl push.
Post
Replies
Boosts
Views
Activity
On a related note, is it possible to run the same command from XCTest where the target application is iOS? The goal here is to send a push notification to the simulator during UI Testing. Process doesn't exist on iOS (only macOS) so it won't work out of the box.
… and distributing it via the Mac App Store? That was the plan, yes. Is that violating some review guideline I’m not aware of? I’ve only done iOS apps before not macOS so I’m not confident I know all of them yet.
So how would you do this on iOS? Sorry, I was mentioning I am only familiar with the iOS App Store guidelines, not the Mac App Store ones. This definitely isn't possible on iOS 😀
It sounds like this most likely isn't possible inside the sandbox. I'll table this idea or release something small outside of the App Store (and without sandboxing). Thanks for the help there.
Going back to the original question, is it possible to execute a command from XCTest where the target application is iOS? This works when macOS is the host target via Process(), but that doesn't exist on iOS so XCTest can't reference it.
is it possible to execute a command from XCTest where the target application is iOS? Yes That's great! Can you shed some light on how it is done? I tried via Process() but, as I mentioned, that work with iOS.