How To work around iOS Simulator bug