Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slow down internet for iOS simulator

I have a random crash in my iOS app. This happens when on slow internet connection. My office internet speed is too fast.

For testing on simulator, I installed Network Link Conditioner as mentioned here: Installing Apple's Network Link Conditioner Tool

Now the problem is that, I selected a slower connection profile but still I'm having the normal (fast) internet speed in simulator.

I also created my own profile and set the download bandwidth to 5kbps but still no use.

I have: Mackbook retina, OSX 10.7.5, XCode: 4.4.1

Restarting Xcode and Simulator also didn't work.

Are there any additional settings required for Network Link Conditioner? Or should I do something else to regenerate the crash? Any help?

like image 465
Abdullah Umer Avatar asked Oct 16 '12 13:10

Abdullah Umer


People also ask

How do I simulate slow Internet on iPhone?

Simulate Poor Network on iPhone Open the Settings app and navigate to the Developer option. Select the Network Link Conditioner under NETWORKING option. Now enable the Network Link Conditioner & choose the network profile you want, and start testing how your app works in different conditions.


2 Answers

You can set the network to slow characteristic by testing on devices. Go to Settings -> Developer Settings -> Network Link Conditioner -> Enable. This is for iPhone/iPad running iOS 6 Network Link Conditioner is also available for the Mac in "Additional Tools for Xcode" for testing in the Simulator.

Note: It appears after device has been connected to Xcode, enabled for development and some app run on it.

Here's how you can test HORRIBLE network performance: enter image description here

like image 72
Sverrisson Avatar answered Sep 17 '22 12:09

Sverrisson


What about a development proxy server to simulate slow connections? One that looks promising is http://www.charlesproxy.com/

like image 24
Tim Büthe Avatar answered Sep 20 '22 12:09

Tim Büthe