浏览代码

Merge pull request #172 from cherishloveyou/patch-1

Fix warning from Xcode 8.3
Andrea Bizzotto 8 年之前
父节点
当前提交
a489525867
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SwiftyStoreKit/PaymentQueueController.swift

+ 1 - 1
SwiftyStoreKit/PaymentQueueController.swift

@@ -59,7 +59,7 @@ extension SKPaymentTransaction {
 
     open override var debugDescription: String {
         let transactionId = transactionIdentifier ?? "null"
-        return "productId: \(payment.productIdentifier), transactionId: \(transactionId), state: \(transactionState), date: \(transactionDate)"
+        return "productId: \(payment.productIdentifier), transactionId: \(transactionId), state: \(transactionState), date: \(String(describing: transactionDate))"
     }
 }