FakeByte / EpicOnlineTransport

A Transport for Mirror using Epic Online Services
MIT License
252 stars 52 forks source link

Undefined symbol Error while building for iOS #33

Closed q-sun closed 2 years ago

q-sun commented 2 years ago

Hi, now I'm developing a Unity game with EpicOnlineTransport. I built the project with X-code in Unity for iOS build, and there were no errors so far. However, an error occurred in the process of building from X-code to a real phone. The error code is as follows. Do you have any idea how to solve this?

Undefined symbol: _EOS_UnerInfo_CopyUserInfo

In addition to this error message, Undefined symbol: EOS ~~ About 100 errors appeared. I need help please.

q-sun commented 2 years ago

Download SDK fot iOS at the EPIC games. Then add EOSSDK.Framework folder to following 2 targets

1) Targets-UnityiPhone(or your project name)-general - Framework, Libraries, and Embedded Content 2) Targets-UnityFramework (or your project name Framework) - general - Frameworks and Libraries

And add AuthenticationServices.framework to Targets-UnityiPhone(or your project name)-general - Framework, Libraries, and Embedded Content.

Lastly, you must disable bitcode for your project.

check this out. https://dev.epicgames.com/docs/services/en-US/GameServices/Platforms/iOS/index.html

To me, it works. Thx!