Packaged Project Crash

HI, we created a project using UE4.24.3 with Nakama. The project packs correctly for all targeted devices and runs well in Android and Windows, exept in a iPhone. When we try to open the game in an iPhone the project opens and quickly closes.

Here is the error message I get in the iPhone:

Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

Termination Description: DYLD, dependent dylib ‘@rpath/libnakama-cpp.dylib’ not found for ‘/private/var/containers/Bundle/Application/BCF488A2-420E-4800-8533-395019765171/Game.app/Game’, tried but didn’t find: ‘/private/var/containers/Bundle/Application/BCF488A2-420E-4800-8533-395019765171/Game.app/Frameworks/libnakama-cpp.dylib’ ‘@rpath/libnakama-cpp.dylib’ ‘/usr/local/lib/libnakama-cpp.dylib’ ‘/usr/lib/libnakama-cpp.dylib’

Highlighted by Thread: 0

I am having the same issue. When I package my game and upload it to TestFlight it crashes on being tested on iPhone. I never had this problem before when packaging with UE 4.24 and now currently I am trying to update the same project. The only difference is having to use UE 4.25 now and the only issue I could possibly come up with is the new experimental storyboard feature that we need for launch screens could not be functioning correctly causing the packaged games to fail on launch but Im not sure. I have tried and played around with both methods that Unreal offers to create the storyboard and have followed the very confusing and conflicting documentation and tooltip directions for including it in the project without success. This is literally the last step I need done to have my project updated for Apple’s new App Store requirements.

Have you solved this problem?

I have not. This Packaging for macOS doesn't add correct RPATH for thirdparty dependencies could be a fixer if the project is packaged for Mac. iOS still not working. Do you have any suggestions?

Did you find a fix?

No, while we are developing a game for Android, later we plan to hire a specialist who could solve this problem. I will write about the results, but it will not be soon

1 Like