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

iOS Linker error _enet_address_set_hostname and others #62

Closed
Marcurion opened this issue May 13, 2020 · 12 comments
Closed

iOS Linker error _enet_address_set_hostname and others #62

Marcurion opened this issue May 13, 2020 · 12 comments
Assignees
Labels
bug Something isn't working its-fixed Winner winner, the debugger got a chicken dinner. mobile-platform This happens on a mobile platform, not desktop.

Comments

@Marcurion
Copy link

Hi,

I am trying to build Mirror Ignorance on iOS however some referenced functions seem to be missing from libenet.a. nm tools show me the functions are missing.
image

However the same functions are missing in the windows .dll and it compiled and ran fine...
image

The missing functions seem to be referenced in ENet.cs but no idea why it works under windows
image

Any ideas, really would like to use UDP with our voice chat : /

@henriquelalves
Copy link

I'm also reproducing this error; in the Editor, I get a "Can't verify enet library" kind of error and Ignorance crashes when trying to play as iOS; XCode can't build the project.

@SoftwareGuy SoftwareGuy self-assigned this May 19, 2020
@SoftwareGuy SoftwareGuy added bug Something isn't working mobile-platform This happens on a mobile platform, not desktop. question Further information is requested labels May 19, 2020
@SoftwareGuy
Copy link
Owner

Oh hey, sorry for the delay in the response, I need to set Ignorance notifications to high priority it seems... 😅

What version of Ignorance are you using? v1.3.7 shouldn't have problems on iOS. If not, I screwed up somewhere. I'll try to build a very basic iOS demo through my MacBook Pro (I'm working on getting updated desktop Mac, the only iMac I have is a High Sierra one).

@henriquelalves
Copy link

I used the latest version, v1.3.7. It looked like it was a software certificate kind of error, but unfortunately I wasn't familiar with it.

@henriquelalves
Copy link

@SoftwareGuy I might be able to test something if you need logs about the problem, btw.

@SoftwareGuy
Copy link
Owner

Ugh, if it’s a software certificate issue then I might need to talk to Apple regarding it. Shouldn’t be though...

@SoftwareGuy
Copy link
Owner

I've been working on this, made a repro project, now I just need to compile for iOS and see if I get the linker error.

@SoftwareGuy
Copy link
Owner

Okay, I got compile errors on iOS. Looks like I broke something in the latest update.

Let me investigate.

@SoftwareGuy
Copy link
Owner

I'm going to push some new binaries to this repository that should fix the problem.

@SoftwareGuy
Copy link
Owner

SoftwareGuy commented May 26, 2020

This should be fixed, could you check @henriquelalves @Marcurion ?

@SoftwareGuy SoftwareGuy added the on hold This is currently on hold label May 26, 2020
@henriquelalves
Copy link

Np, but there isn't a new .unitypackage release after 1.3.7. Should we compile the project?

@SoftwareGuy
Copy link
Owner

Np, but there isn't a new .unitypackage release after 1.3.7. Should we compile the project?

@henriquelalves if you just clone this repo, then in your project delete the Ignorance folder, and then copy paste the Ignorance folder from this repo under Mirror/Runtime/Transport, you’ll have 1.3.7 with fixed up binaries for iOS and Mac targets. I’ve yet to build the Libraries again for Linux and Windows.

Backup your project before hand.

Alternatively I can provide you a updated unity package.

@Marcurion
Copy link
Author

Hi,

compiles fine now for me, thank you.

@SoftwareGuy SoftwareGuy added its-fixed Winner winner, the debugger got a chicken dinner. and removed on hold This is currently on hold question Further information is requested labels May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working its-fixed Winner winner, the debugger got a chicken dinner. mobile-platform This happens on a mobile platform, not desktop.
Projects
None yet
Development

No branches or pull requests

3 participants