[TIMOB-15711] Fixed sync issues with xcodebuild and optimize images running at the same time.
Merge branch 'master' into timob-15711

Conflicts:
	iphone/cli/commands/_build.js
Merge pull request #4978 from cb1kenobi/timob-15711

[TIMOB-15711] Fixed sync issues with xcodebuild and optimize images runn...