huynguyencong / NHNetworkTime

A simple network time protocol SNTP open source for iOS, get the correct time.
Apache License 2.0
118 stars 22 forks source link

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/443F9124-BDDA-452E-A0E3-E73C81930BC0/timeTesting.app> (loaded)' with name 'Rkk-g4-vge-view-TV7-kw-gIS' and directory 'Main.storyboardc'' #15

Closed unittesting0 closed 8 years ago

unittesting0 commented 8 years ago

I'm getting an error while using NHNetworkTime

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/443F9124-BDDA-452E-A0E3-E73C81930BC0/timeTesting.app> (loaded)' with name 'Rkk-g4-vge-view-TV7-kw-gIS' and directory 'Main.storyboardc''

May i know what am I doing wrong?

My question is How can i refresh the time inside the viewController, if the time has not be loaded after the timeout?

Sometimes I get Critical failure: the LastResort font is unavailable.

: CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

huynguyencong commented 8 years ago

You can call synchronize method of NHNetworkClock class. The error of you loading nib, I think it is not concern with NHNetworkTime