I execute some autotests on ios simulator with the commands:
xcrun simctl install booted myApp
xcrun simctl launch --console booted myApp
That works well and runs the tests as expected.
However I would like to get exit code of the execution of myApp, and I don't manage to get it...
If myApp terminates abnormally the exit code I get from $? is 0 which makes sense as it is the exit code of xcrun which actually succeeds.
Do you have any ideas ? maybe using xcrun simctl getenv somehow ?
Thanks in advance.
Post
Replies
Boosts
Views
Activity
Hi,
Our application needs to receive and process positions, even in background. The associated UIBackgroundMode is activated, and everything was working well until I updated a test tablet to 15.3.1. The application was switching to background (with position correctly feeds - as expected), but never to suspended.
Now it keeps background mode for few seconds or minutes (GPS working at this moment) and then switches to suspended where no more events are triggered.
Is there any recent changes on this subject that could explain ? (that's critical for our application)