iOS 8 / Xcode 6 Simulator is not using HTTP Proxy anymore

前端 未结 3 604
南方客
南方客 2020-12-29 04:01

My iOS 8 Simulator is not using my proxy settings anymore (I want to debug with Charles). The rest of the system does. The simulator somehow seems to get direct internet acc

相关标签:
3条回答
  • 2020-12-29 04:44

    This is correct. Proxy settings that are setup on the host are not necessarily usable by the simulated runtime. If your proxy server requires authentication, you will not be able to use it in the iOS Simulator due to the simulator and host not sharing the same keychain. If you rely on this functionality, please file a radar at http://bugreport.apple.com and request an alternative.

    Also note that this is discussed in the Xcode 6 Release Notes:

    • iOS Simulator does not support the use of network proxy servers that require authentication. (14889876)
    0 讨论(0)
  • 2020-12-29 04:50

    Do not forget the HTTPS:

    1. Set Web Proxy (HTTP) and Secure Web Proxy (HTTPS)
    2. Restart the simulator after proxy changes
    0 讨论(0)
  • 2020-12-29 05:05

    Restart the simulator between proxy changes

    0 讨论(0)
提交回复
热议问题