When I try to turn on iTunes & App Store in Settings->Apple ID on Simulator, I get an error that says, "Could Not Sign In" and "There was a problem connecting to the server." I am sure I got the password right and that Apple ID works on my devices with iTunes. Why am I not able to connect to iTunes on Simulator?
The associated APIs are not supported by the simulator - remember, it is not an eumulator, and should only be relied on for testing your UI.
From Simulator Help:
The following frameworks are not supported in Simulator:
- ARKit
- External Accessory
- HomeKit
- IOSurface
- Media Player
- Message UI
The following features of APIs are not available in Simulator:
- Receiving and sending Apple push notifications.
- The
key.UIBackgroundModes - The
class inUIVideoEditorController
.UIKit - Support for Handoff.
The Metal, MetalKit, and Metal Performance Shaders frameworks are provided only as stubs. Calls to functions in these frameworks have no effect.