Fixed the issue in DTFoundation library not working for iOS Simulator.