Simulate airplane mode in iPhone Simulator

IphoneIos Simulator

Iphone Problem Overview


Is there any way to simulate airplane mode in the iPhone Simulator?

Iphone Solutions


Solution 1 - Iphone

Turn off your network connection on the Mac.

Solution 2 - Iphone

You could install Apple's Network Link Conditioner

On Yosemite: > Network Link Conditioner can be found in the "Hardware IO Tools for Xcode" package. This can be downloaded from the Apple Developer Downloads page. Once the download has finished, open the DMG and double-click "Network Link Condition.prefPane" to install (source).

With this preferences panel you could create a profile with 0kbps speed.

Network Link Conditioner

On older versions of OSX:

Mountain Lion / Mavericks: Xcode > Open Developer Tool > More Developer Tools
Lion: /Developer/Applications/Utilities/Network Link Conditioner

Solution 3 - Iphone

You can use Little Snitch too to temp. block the internet connection for this app.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJason JenkinsView Question on Stackoverflow
Solution 1 - IphoneRob NapierView Answer on Stackoverflow
Solution 2 - IphoneTiemeView Answer on Stackoverflow
Solution 3 - IphoneRoded KonfortyView Answer on Stackoverflow