Fix build framework for iOSSimulator