😀
iOSシュミレーターでCould not signal service com.apple.WebKit.Network
理由はわからないがXCodeのシュミレーターがこんな感じになってしまう。
エラーログは下記
Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
原因はセキュリティソフトのAVGAntiVirtus(AVastでもそうだった)が通信をブロックしているためである。
参考: Avast iOS8 シミュレータでネットワーク通信ができません。
設定で下記をWebShildの検知をOFFにしよう
# Avastの人は自分でググってください
open /Applications/AVGAntivirus.app
設定前
<img width="1136" alt="2" src="https://user-images.githubusercontent.com/1619084/51459488-2129c500-1d9c-11e9-95d7-25af1301cc16.png">
設定後
<img width="1133" alt="3" src="https://user-images.githubusercontent.com/1619084/51459499-2be45a00-1d9c-11e9-9e83-08a9a6264b9f.png">
これでWebviewの通信が上手くできました。
最後に
ハマりましたん。
Discussion