[Unity Plugin Crash] - When using the AppleCore and GameKit

Hello, I've added the Unity plugin for GameKit and it crashes on lunch, with this message.

Library not loaded: @rpath/AppleCoreNative.framework/AppleCoreNative Referenced from: <22A243C2-0F80-36C5-8B0A-9C440F83A640>

This happens with a clean project also, it works fine when I manually embed files in the "Targets → Unity-Phone → General → Frameworks, Libraries, and Embedded Content", but I'm afraid that in that case there may be other issues. (not passing validation for example).

Doe's apple embed Frameworks to correct target? Because frameworks were embedded to "UnityFramework" and the game still crashes, the game does not crash when they are embedded to "Unity-iPhone" target manually.

Can anyone do a clean build with sample project to confirm?

I'm using Unity 2021.3

I'm having the same issue. Were you able to resolve it? If so, how?

This issue has been resolved

https://blog.csdn.net/Yj_sail/article/details/135277886?spm=1001.2014.3001.5502

[Unity Plugin Crash] - When using the AppleCore and GameKit
 
 
Q