Thanks for your reply. It seems so. Please see the curl / iOS 10 discussion in the link that I sent earlier. Meanwhile, I made a workaround to patch src/platform.hpp after the configure stage ( https://github.com/azawawi/libzmq-ios/blob/master/platform-patched.hpp#L11). Unit tests are now working after this change on iOS 8 and 9 simulators (Build log: https://travis-ci.org/azawawi/SwiftyZeroMQ/jobs/170303450).
Also I saw this commit to add an implementation for it in the 4.2 branch ( https://github.com/zeromq/libzmq/commit/a8f11b3c3d719c1c248f64933862c913111dded8). The crash was occurring in the zmq::clock_t::now_us function. Regards, Ahmad 2016-10-25 6:26 GMT+03:00 Laughing <[email protected]>: > There is no clock_gettime API in the IOS platform? > Or some library should be linked? > > > > > > On 10/24/2016 16:34, Ahmad Zawawi <[email protected]> wrote: > > Hi, > > I encountered today a clock_gettime run time crash while testing on iOS > 9.0 and earlier using a libzmq.a that is compiled on an iOS 10.0 SDK. The > Swift language bindings for iOS (https://github.com/azawawi/SwiftyZeroMQ) > is currently using a bundled universal libzmq.a (https://github.com/ > drewcrawford/libzmq-ios). When I enabled Travis CI tests on iOS 9 and > earlier, the tests started to fail with the error "dyld: lazy symbol > binding failed: Symbol not found: _clock_gettime" (libSystem.dylib). Tests > are working perfectly on iOS 10. The problem seems to be similar to > https://curl.haxx.se/mail/lib-2016-09/0043.html. > > Is there a way to disable clock_gettime detection via the configure shell > script? > > Regards, > Ahmad M. Zawawi > > > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
