- Update pods
- Prevent crash when no debug log available (#93)
This commit is contained in:
Davide De Rosa 2019-04-27 22:27:14 +02:00
parent 3505f68b04
commit a047d2bdd5
2 changed files with 10 additions and 10 deletions

View File

@ -219,7 +219,7 @@ class ViewController: UIViewController, URLSessionDataDelegate {
return
}
try? vpn.sendProviderMessage(TunnelKitProvider.Message.requestLog.data) { (data) in
guard let log = String(data: data!, encoding: .utf8) else {
guard let data = data, let log = String(data: data, encoding: .utf8) else {
return
}
self.textLog.text = log

View File

@ -1,14 +1,14 @@
PODS:
- OpenSSL-Apple (1.1.0i.2)
- OpenSSL-Apple (1.1.0j.2)
- SwiftyBeaver (1.7.0)
- TunnelKit (1.6.2):
- TunnelKit/AppExtension (= 1.6.2)
- TunnelKit/Core (= 1.6.2)
- TunnelKit/AppExtension (1.6.2):
- TunnelKit (1.6.3):
- TunnelKit/AppExtension (= 1.6.3)
- TunnelKit/Core (= 1.6.3)
- TunnelKit/AppExtension (1.6.3):
- SwiftyBeaver
- TunnelKit/Core
- TunnelKit/Core (1.6.2):
- OpenSSL-Apple (~> 1.1.0i.2)
- TunnelKit/Core (1.6.3):
- OpenSSL-Apple (~> 1.1.0j.2)
- SwiftyBeaver
DEPENDENCIES:
@ -24,9 +24,9 @@ EXTERNAL SOURCES:
:path: ".."
SPEC CHECKSUMS:
OpenSSL-Apple: 37a8c0b04df4bb8971deef4671cc29222861319c
OpenSSL-Apple: e88e1eb314acb4a05e2348069790c4aa49f6d319
SwiftyBeaver: 4cc0080d2e23f980652e28978db11a5c9da39165
TunnelKit: 6be99150922d3f14187dc29732032712dd4400e3
TunnelKit: ac8dad986e36e513303ed5d258c7e4aedb45c84b
PODFILE CHECKSUM: f66dfaaa92a8d04ab2743f3caeab0ac9f9f25859