You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Apple Watch i get this error that cause the crash of the app: WatchKit App Extension[548:794557] Fatal error: Double value cannot be converted to Int because the result would be greater than Int.max: file Swift/armv7k-apple-watchos.swiftinterface, line 31242
The problem is for the var millisecondsSince1970 in the file Date+Extension.swift (line 29):
// Extended functionality to get milliseconds from 1970 to present time
public var millisecondsSince1970: Int {
return Int((self.timeIntervalSince1970 * 1000.0).rounded())
}
The text was updated successfully, but these errors were encountered:
On Apple Watch i get this error that cause the crash of the app:
WatchKit App Extension[548:794557] Fatal error: Double value cannot be converted to Int because the result would be greater than Int.max: file Swift/armv7k-apple-watchos.swiftinterface, line 31242
The problem is for the var
millisecondsSince1970
in the fileDate+Extension.swift
(line 29):The text was updated successfully, but these errors were encountered: