[TIMOB-15125] (3_1_X) iOS: Validation of package fails

Backport of PR #4680
Fixes [TIMOB-15125](https://jira.appcelerator.org/browse/TIMOB-15125)