問題1:Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
解決:對我有用的是在info.pist文件中設(shè)置App權(quán)限
<key>NSAppTransportSecurity</key>
? ? <dict>
? ? ? ? <!--Not a recommended way, there are better solutions available-->
? ? ? ? <key>NSAllowsArbitraryLoads</key>
? ? ? ? <true/>
? ? </dict>
問題2:facebook的Invalid OAuth access token signature。
打開https://developers.facebook.com/apps應(yīng)用中心
設(shè)置->高級 ?下的 客戶端口令 copy 替換 iOS中info文件:
<key>FacebookClientToken</key>
<string>xxxxxxxxx</string>
重新運(yùn)行
問題3: flutter doctor檢查完之后出現(xiàn):A network error occurred while checking "https://github.com/": Operation time out 錯(cuò)誤玷过。
解決方式:Mac中通過 open /etc/hosts 打開hosts文件把下列全部復(fù)制到hosts文件中竖螃,保存替換之后重新flutter doctor。
192.30.253.113 github.com
192.30.252.131 github.com
185.31.16.185 github.global.ssl.fastly.net
74.125.237.1 dl-ssl.google.com
173.194.127.200 groups.google.com
192.30.252.131 github.com
185.31.16.185 github.global.ssl.fastly.net
74.125.128.95 ajax.googleapis.com
192.30.255.112? github.com git
185.31.16.184 github.global.ssl.fastly.net
192.30.253.112? ? github.com
192.30.253.119? ? gist.github.com
151.101.184.133? ? assets-cdn.github.com
151.101.184.133? ? raw.githubusercontent.com
151.101.184.133? ? gist.githubusercontent.com
151.101.184.133? ? cloud.githubusercontent.com
151.101.184.133? ? camo.githubusercontent.com
151.101.184.133? ? avatars0.githubusercontent.com
151.101.184.133? ? avatars1.githubusercontent.com
151.101.184.133? ? avatars2.githubusercontent.com
151.101.184.133? ? avatars3.githubusercontent.com
151.101.184.133? ? avatars4.githubusercontent.com
151.101.184.133? ? avatars5.githubusercontent.com
151.101.184.133? ? avatars6.githubusercontent.com
151.101.184.133? ? avatars7.githubusercontent.com
151.101.184.133? ? avatars8.githubusercontent.com