iOS8 模拟器 : Proxy authentication pop up not being shown

标签 ios proxy ios-simulator

我正在使用的公司网络设置了“代理”以连接到互联网。我在 mac 的网络设置中进行了必要的更改,我能够看到网站在 Safari 中加载(我已经输入了凭据并保存在 KeyChain 中),但是当我尝试通过 iOS 模拟器访问这些网站时,连接失败并询问用于身份验证,但问题是没有弹出窗口显示,因此我可以输入用户名和密码。我已经在 iOS6 模拟器中看到了弹出窗口并且它曾经工作过。我想知道我是否需要专门针对 iOS 模拟器做一些更改才能使其正常工作?

我尝试打开 Settings -> Developer -> Allow HTTP services,这在你处于开放网络(家庭)中时有效,但在企业网络中,身份验证错误以纯 html 显示页面并且没有弹出窗口来输入凭据。我还尝试重新启动模拟器,但这些都没有解决问题。 下面是错误

Error Code :407 Proxy Authentication Required. Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. (12209).

提前致谢

-阿诺普

最佳答案

这在 Xcode 6.1 Release Notes 中作为已知问题提到。 :

iOS Simulator does not support the use of network proxy servers that require authentication. (14889876)

关于iOS8 模拟器 : Proxy authentication pop up not being shown,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26901615/

相关文章:

ios - 使用 Slider 删除 UITableView 操作,如按钮按下或滚动

ios - 创建变量并在 View Controller 中的各种函数中使用

通过 SSH 代理主机的 git clone 问题

networking - HTTP(s) 反向代理、TCP 代理、Socks5 代理之间的区别?

xcode - 如何停止Xcode 3.2.6默认使用iPad模拟器?这是新行为吗?

ios - arc4random_uniform 64 位 ios

Docker for Mac 和企业代理

iphone - 是否可以连续获取iPhone当前位置的经纬度

xcode - iPad 模拟器 6.0 页面方向不起作用

ios - 如何处理 UIViewController 中的 UIApplicationDelegate 方法?