Topics

Executing a script or app from iOS or XCTest in a Simulator session

Alex Zavatone
 

I’ve been scraping the docs and net looking for an option to call /usr/bin/leaks and /usr/bin/heap from an iOS XCTest class when out app is running in the Simulator and am at a loss since NSTask isn’t available on IOS.

Is there another option to make a call to a shell script or open an app on the Mac when running in a Simulator session?

Thanks.
Alex Zavatone