Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cocoapods] dyld: lazy symbol binding failed: Symbol not found: _clock_gettime #50

Open
kiryl09 opened this issue Jun 12, 2017 · 1 comment
Labels

Comments

@kiryl09
Copy link

kiryl09 commented Jun 12, 2017

Hardware / Software

Which version of the library were you using? 1.0.7
Which version of iOS are you running? 9.0
What model of iOS device were you testing on? iPhone 6 Simulator, iPad 4
If using CocoaPods, which version of CocoaPods are you on?
1.0.7 and problem exists with cocoapods only

Problem

On iOS 9 with 1.0.7 (from cocoapods) I always have a crash when I execute the method:
[TONetBIOSNameService startDiscoveryWithTimeOut:(NSTimeInterval)timeout
added:(TONetBIOSNameServiceDiscoveryEvent)addedHandler
removed:(TONetBIOSNameServiceDiscoveryEvent)removedHandler]

Looks like static libraries libdsm.a or libtasn1.a submitted in Pod use undefined function. When I rollback Pod to version 1.0.5 it works fine on iOS 9 & iOS 10.

Please rebuild libdsm.a and libtasn1.a libraries for cocoapods with iOS 9 compatibility as it was in pod 1.0.5 or change min supported iOS version in Podspec.

Crash log:

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/user1/Library/Developer/CoreSimulator/Devices/A82EC3BC-980F-4FB3-94F4-355C71894BBE/data/Containers/Bundle/Application/1BB92D51-FC73-4582-BB5C-3DCA1C0DE50C/Salsa.app/Salsa
Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libSystem.dylib

dyld: Symbol not found: _clock_gettime
Referenced from: /Users/user1/Library/Developer/CoreSimulator/Devices/A82EC3BC-980F-4FB3-94F4-355C71894BBE/data/Containers/Bundle/Application/1BB92D51-FC73-4582-BB5C-3DCA1C0DE50C/Salsa.app/Salsa
Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libSystem.dylib

@TimOliver
Copy link
Owner

HI @kirillkudin! I built a new version of libdsm a few weeks back. Can you please check again and see if you're still having the issue? Thanks!

@TimOliver TimOliver added the bug label Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants