added flag to compile script for local ios compilation