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

System.DllNotFoundException: linphone #42

Open
JoeHenderson1962 opened this issue Feb 10, 2021 · 6 comments
Open

System.DllNotFoundException: linphone #42

JoeHenderson1962 opened this issue Feb 10, 2021 · 6 comments

Comments

@JoeHenderson1962
Copy link

I'm getting this error and it looks like it's because "IOS" isn't defined in LinphoneWrapper.cs when building my Xamarin solution.

System.DllNotFoundException: linphone
at Linphone.LoggingService.get_Instance () [0x00001] in /Users/joehenderson/Documents/source/repos/Infinity.ARA/Infinity.ARA/Infinity.ARA/LinphoneWrapper.cs:20100

@marcowi
Copy link

marcowi commented May 19, 2021

Did you fix this?

@KwasiVT
Copy link

KwasiVT commented Sep 14, 2021

Has Anyone found a solution for this. Does anybody look at these issues. IS THERE ANYONE OUT THERE!!!!!!

@marcowi
Copy link

marcowi commented Sep 14, 2021

Well, kind of. The problem is that you probably created a new Xamarin project which has another layout than the sample and simply loads in a "wrong" order. Thus the __IOS__ is not set when the LinphoneWrapper.cs is loaded. You can either change the path to the LIB_NAME in the LinphoneWrapper.cs itself by changing the #else-branch (around line 41) to
public const string LIB_NAME = "linphone.framework/linphone";
or inject the environment variable __IOS__ before the wrapper is being loaded.

@KwasiVT
Copy link

KwasiVT commented Sep 15, 2021

I've done that I got it to work for the linphone 4.3-4.4 sdks but when I try it with the 4.5 and higher sdks I get an DLLNotFound Exception

@asadcr
Copy link

asadcr commented Nov 13, 2022

@KwasiVT Thanks. i got it to work with 4.3 as well. Anything higher results in same issue on IOS as well. Is there anybody who could just fix it.

@headintheclouds21
Copy link

Does anyone know if this has been fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants