如何修复xcode错误“web过滤器是活动的”? [英] How to fix xcode bug "web filter is active"?

查看:1374
本文介绍了如何修复xcode错误“web过滤器是活动的”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好我在日志中得到这个,我不知道它是什么,为什么它记录这个消息也对我的应用程序有不良的影响?

  2017-02-12 20:20:21.222930 goball [760:91949] WF:_userSettingsForUser手机:{
filterBlacklist =(
);
filterWhitelist =(
);
restrictWeb = 1;
useContentFilter = 0;
useContentFilterOverrides = 0;
whitelistEnabled = 0;
}
2017-02-12 20:20:21.223110 goball [760:91949] WF:_WebFilterIsActive return:NO


解决方案

我花了一些研究来确定发生了什么,但是你所遇到的是 Safari 10的增强内容安全策略



E.G。您可能通过 https:// 从远程服务器加载您的页面,但该页面本身通过未加密的 http:// 网址。



查看是否可以找到正在加载的图片网址,然后将域添加到您的App Transport Security例外。


Hello I am getting this in the log and im not sure what it is and why it is logging this message also does it have any bad affect on my app ?

2017-02-12 20:20:21.222930 goball [760:91949] WF: _userSettingsForUser mobile: {
filterBlacklist =     (
);
filterWhitelist =     (
);
restrictWeb = 1;
useContentFilter = 0;
useContentFilterOverrides = 0;
whitelistEnabled = 0;
}
2017-02-12 20:20:21.223110 goball [760:91949] WF: _WebFilterIsActive returning: NO

解决方案

It took me some research to figure out what's going on but what you are running into is Safari 10's "enhanced content security policy" in action.

E.G. you might be loading your page from a remote server via https://, but the page itself requests images via non-encrypted http:// URL's.

See if you can find out what image URL's are being loaded and then add the domains to your App Transport Security exceptions.

这篇关于如何修复xcode错误“web过滤器是活动的”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆