[TIMOB-15717] Fixed CLI error if running an ios sim app and the simulator is reset.
Merge pull request #4969 from cb1kenobi/timob-15717

[TIMOB-15717] Fixed CLI error if running an ios sim app and the simulator is reset.