Comments (3)
Mea culpa .. iOS-ntp has not had much love for quite a long time. I respond to issues but have not actually tried to compile the code recently. I have been asked to not delete the repo, so it continues in a somewhat unsupported state .. such is the nature of open source, I'm sorry.
CocoaAsyncSocket is easy to find; it's the first hit if you Google for that term. The two necessary files used to be included in this project but were removed when CocoaAsyncSocket went through a period of changes, but iOS-ntp's dependency on CocoaAsyncSocket is clearly present in the Podspec, and is referenced in the most recent change note: "removed asyncsocket files from network-lib".
I have added the CocoaAsyncSocket URL to the README file, and will review the rest of it for inconsistencies that might be confusing, but it's always good to remember that free software is often worth all the money you spend on it. I wrote this this library a long time ago, when iPhones got their time from the phone company and it could off by minutes (!), in order to get an accurate time for my app, and others have used it to check that the system clock time hasn't been fiddled with to avoid registration. In the intervening years iOS has adopted the reference NTP implementation making system time accurate, and eliminating my need for it.
from ios-ntp.
Given that it only requires GCDAsyncUpdSocket.h and GCDAsyncUpdSocket.m, and nothing else from that project, it would be easy enough to just add those two files into the project...
from ios-ntp.
It used to be like that but freezing them in this project meant they went out of date and gave people trouble. The CocoaPods mechanism refers to the CocoaAsyncSocket repo, so "pod install" gets the latest version. Just to be sure, I pulled a fresh copy of the iOS-ntp repo yesterday, did a pod install, and built and run the sample app. There were a few Xcode complaints but, otherwise, success.
from ios-ntp.
Related Issues (20)
- iOS-ntp returning same value as device HOT 4
- Question for one-time check HOT 4
- Watching possible issue in CocoaAsyncSocket code
- Cocoa Pods released version HOT 1
- Hardcoded NTP Pool names HOT 13
- import error HOT 1
- EXC_BAD_ACCESS HOT 6
- What is missing from RFC 5905 HOT 2
- Grabbing ntpClientRecvTime Twice HOT 1
- Ability to Change the Time Servers Without Reboot
- Account for Packet Loss in One-Off Mode HOT 1
- Any update for cocoapod, version is still 1.1.1 HOT 2
- v1.1.7 updates coming soon .. HOT 1
- when not network to network, error: " dnssd_clientstub deliver_request ERROR:"
- 该网络时间从哪来?
- 有啥用呢? HOT 1
- How to get the accurate network time after modifying the system time HOT 13
- demo clock is wrong HOT 5
- Whether the poll interval can be automatically increase?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-ntp.