iOS simulator does not have internet connection - ios

When starting an iOS simulator, it is not possible to get a HTTP response. Safari keeps showing the loading bar and does not load everything. I first though that it was my own application, but I tested it on multiple simulators, and all the simulators did not received any internet responses.
This problem is both on my MacBook Pro as my Mac mini at the office. is this a bug in the simulator, or do I have to turn something on?
Simulator version
Version 12.5 (961.1)
SimulatorKit 609
CoreSimulator 757.3
Xcode version:
Version 12.5 beta 2 (12E5234g)

I found the solution. The problem is a bug in Xcode Version 12.5 beta 2. It should be solved in beta 3
https://developer.apple.com/forums/thread/674191

Related

Trying to Simulate my Xcode Project on my Personal iPhone

Currently have an iPhone 8 plus that is running iOS 12.1 and Xcode 10. When I connect my iPhone to my laptop and and go to Window > Devices and Simulators, I see my iPhone but I get the warning
"This iPhone 8 Plus (Model A1864, A1897, A1898, A1899) is running iOS 12.1 (16B5077c), which may not be supported by this version of Xcode."
Not sure how to resolve this warning.
You are running a beta version of iOS, so you also need the beta version of Xcode.
Download it from Apple's developer site

Xcode 8.3.3 lost connection to iPhone 7 plus

This is frustrating, I recently got an iPhone 7 plus to use as a test device. Somehow, my Xcode always loose connection to it as soon as
I connect it to my Mac. Restarting my Mac will solve it.
Xcode version: 8.3.3
iOS version: 10.3.3
Luckily, I have another iPhone 6s for testing, which works fine. The iOS version is also 10.3.3. I don't want to use this one as a test device because it's my personal phone, messages and phone calls would interrupt my development.
Thanks in advance for any help : )

XCode 8.1 (8B62) - not able to build app on iPad Retina (ipad 4)

Recently I upgraded my Xcode to 8.1 (8B63) and migrated the 7.3.4 project successfully. Tested on simulators and was able to build on iPad Retina (iPad 4) simulator with deployment target 8.4. But when I connected my device (iPad 4), I got the following error:
Could not locate device support files.
This iPad (4th generation Model A1458) is running iOS 10.2.1 (14D27), which may not be supported by this version of XCode.
I am not able to understand why - as the project can work on iPad 4 simulator, but not able to connect to the device. Can you please help me in this?
Thanks
You need to update Xcode again. I have this same problem sometimes when I update my iDevice right when Apple pushes an update to iOS. The problem is that your device's iOS is too current, and your Xcode actually doesn't recognize it (it's outdated - the latest is 8.2.1 I believe).
If you're an Apple Developer with a current account, you can actually see the latest version of Xcode (and beta versions) here: https://developer.apple.com/download/more/?q=xcode Also you can bypass the annoying time-outs and bugs you sometimes will experience downloading Xcode through the AppStore
I think Xcode 8.2.1 should help, if not - try Xcode 8.3 Beta (if it's available)

Xcode 6.4 simulator freezes sporadically

My simulator (any iOS version) can sporadically freeze any application I work. Tried "Reset content and settings" option on simulator. Clean my projects derived data in Xcode version 6.4 and so on. Simulator keeps freezing sometimes and I need to restart the application then it works for a while. Mac OS X version 10.10.5. I tried Xcode 7 beta 4 before this problem appears however this happen on another mac where no any beta system was installed. Thanks in advance

Can I debug my app on iOS 7 from Xcode 7?

Can I debug my app on iOS 7 from Xcode 7?
From what I can tell Xcode 7 just ignores any plugged in devices with iOS 7 installed. Is this just a fluke or is this a permanent change to Xcode?
(Using: Xcode 7 beta 6, iPhone 4S iOS 7.1)
The BAD news is that you can't test your app on iOS 7 simulators. At least not with Xcode 7.3.1. If you are using previous Xcode beta then you should check this answer.
The GOOD news is that you can test it on real device running iOS 7. I tested mine with Xcode 7.3.1 on iPhone 4 running iOS 7.1.2.
UPDATE:
The only way I have found so far to test your app on iOS 7 simulators is by installing OS X 10.10 Yosemite and using Xcode 6 (tested with OS X 10.10.5 and Xcode 6.4) side by side with Xcode 7.
UPDATE: Xcode version updated to 7.3.1.
The Xcode 7 beta does not support iOS 7.
It's not necessarily a permanent change, but the general way that the beta works.
Once Xcode 7 is released, the earlier runtimes may be supported, and you will be able to test on devices that are running older releases.

Resources