build script update for ios