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

[Bug]: linphone crashed on Macos #291

Open
hushmand opened this issue Feb 28, 2023 · 4 comments
Open

[Bug]: linphone crashed on Macos #291

hushmand opened this issue Feb 28, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@hushmand
Copy link

hushmand commented Feb 28, 2023

Context

I installed linphone-sdk desktop on MacOS with pods.

It crashes after running the app

General information

  • Device: Mac
  • OS: macOS Ventura
  • Version of the App: xcode 14.2
  • Version of the SDK: 5.2.24

Expected behaviour

crashed after run app

To Reproduce

install with:

in podfile
pod 'linphone-sdk', '5.2.24', :source => 'https://gitlab.linphone.org/BC/public/podspec-macos.git'
pod install

Additional context

crash log:

dyld[20658]: Library not loaded: '@rpath/libsrtp2.2.4.2.dylib'
Referenced from:
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/Frameworks/mediastreamer2.framework/Versions/A/mediastreamer2'
Reason: tried:
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/libsrtp2.2.4.2.dylib'
(no such file), '/usr/lib/system/introspection/libsrtp2.2.4.2.dylib' (no
such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/../Frameworks/libsrtp2.2.4.2.dylib'
(no such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/../lib/libsrtp2.2.4.2.dylib'
(no such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/../Frameworks/libsrtp2.2.4.2.dylib'
(no such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/../lib/libsrtp2.2.4.2.dylib'
(no such file), '/usr/lib/swift/libsrtp2.2.4.2.dylib' (no such file),
'/usr/lib/swift/libsrtp2.2.4.2.dylib' (no such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/../Frameworks/libsrtp2.2.4.2.dylib'
(no such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/Frameworks/libsrtp2.2.4.2.dylib'
(no such file),
'/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libsrtp2.2.4.2.dylib'
(no such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/../Frameworks/libsrtp2.2.4.2.dylib'
(no such file), '/usr/lib/swift/libsrtp2.2.4.2.dylib' (no such file),
'/usr/lib/swift/libsrtp2.2.4.2.dylib' (no such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/../Frameworks/libsrtp2.2.4.2.dylib'
(no such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/Frameworks/libsrtp2.2.4.2.dylib'
(no such file),
'/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libsrtp2.2.4.2.dylib'
(no such file),
'/Users/user/Library/Developer/Xcode/DerivedData/Runner-fjfzqfuqergwdqdmudxkvfyxbypy/Build/Products/Debug/sample.app/Contents/MacOS/../Frameworks/libsrtp2.2.4.2.dylib'
(no such file), '/usr/local/lib/libsrtp2.2.4.2.dylib' (no such file),
'/usr/lib/libsrtp2.2.4.2.dylib' (no such file)
(lldb)

SDK logs URL

No response

@hushmand hushmand added the bug Something isn't working label Feb 28, 2023
@sianami123
Copy link

hi @hushmand
i have same issue, did you solve it ? how ?

@hushmand
Copy link
Author

hi @hushmand i have same issue, did you solve it ? how ?

I still have this problem

@julonexus julonexus transferred this issue from BelledonneCommunications/linphone-desktop Mar 28, 2023
@itiotdk
Copy link

itiotdk commented May 3, 2023

delete all pref files and files in application support and restart lindphone

@hushmand
Copy link
Author

hushmand commented Jun 8, 2023

I used version 5.2.57, and it no longer crashes. However, after requesting registration, it displays this error and doesn't get registered.

No LIME server URL in account params, trying to fallback on Core's default LIME server URL []

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants