升級後須要注意兩個地方
1 在build Settings 搜索
bitcode 設置成no
2 在info.plist裏添加如下屬性
程序中報錯:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
解決方法:
在info.plist 加入keyapp
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>