diff --git a/ios/SmartCard.swift b/ios/SmartCard.swift index 65f5de7..24004c6 100644 --- a/ios/SmartCard.swift +++ b/ios/SmartCard.swift @@ -265,7 +265,7 @@ class SmartCard { } func randomPUK() -> String { - return String(format: "%012d", Int.random(in: 0..<999999999999)) + return String(format: "%012ld", Int64.random(in: 0..<999999999999)) } func randomPairingPassword() -> String {