I ran into this error while working with Apple GameKit in Unity:
: Cannot locate the "/NativeLibraries~" folder for GameKit.
This may be due to a build failure. Skipping remaining steps.
After spending hours trying to fix it, I finally found a simple workaround that worked for me 👇
✅ Solution:
Go to:
/Users/<name>/Downloads/unityplugins-main/plug-ins/Apple.Core/Apple.Core_Unity/Assets/Apple.Core/NativeLibraries~
Copy the entire NativeLibraries~ folder to:
/Users/social/Downloads/unityplugins-main/plug-ins/Apple.GameKit/Apple.GameKit_Unity/Assets/Apple.GameKit/
Rebuild GameKit — and it should build successfully now 🎉
Hopefully, this saves someone else the hours I spent debugging it!
Topic:
Graphics & Games
SubTopic:
GameKit
Tags: