MobileNativeFoundation / Kronos

Elegant NTP date library in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for mac?

liu0527aa opened this issue · comments

when i use it in mac app development, during using
Clock.sync { date, offset in // This is the first sync (note that this is the fastest but not the // most accurate run print(date) }
it shows
networkd_settings_read_from_file Sandbox is preventing this process from reading networkd settings file at "/Library/Preferences/com.apple.networkd.plist", please add an exception.

i guess it means the library need network connection. However, the plist can't be found in mac
Could you give me more advices