[TIMOB-14493] IOS: Process arguments correctly

Test is in [JIRA](https://jira.appcelerator.org/browse/TIMOB-14493)