Issues building Unity plug-in project: Cannot locate native library Apple.Core/Apple.GameKit for iOS

I'm having issues getting a well built package from the Apple Unity Plug-in project.

When building the my game project in Unity the following error is printed to the console:

Apple.Core.AppleNativeLibraryUtility] Cannot locate a Debug or Release Apple.Core native library for iOS.
Please ensure that the build invocation (build.py, xcodebuild, or Xcode) compiled cleanly and that the build was configured to support Debug on iOS.

As far as I can tell the build did compile cleanly, but I might be missing something.

If anyone can see what I'm doing wrong or has any insight it would be greatly appreciated.

Setup is the following:

  • macOS Tahoe 26 Beta
  • Xcode-beta Version 26.0 beta 3 (17A5276g)
  • Unity Plug-in branch: 2025-beta1
  • Unity game project version: 2022.3.60f
  • M1 Macbook Pro

The built packages have been imported into the game project through the Unity Package Manager using the tarball option pointing to the built packages from the Unity Plug-in project.

The Unity Plug-in project has been built using the build.py file with the following:

python3 build.py -m iOS iPhoneSimulator -p Core GameKit CoreHaptics GameController -k all 

The output is available in the attached file.

Here's an image of the NativeLibraries~ folder inside the built Apple.Core package.

I have gotten past this problem.

I'm afraid the answer isn't very enlightening. I think my configuration of the packages in the Unity Package Manager was just not correct. At least it seemed to just start working without doing any significant steps.

I'm working with a plug-in Unity project that uses the Apple Unity Plugins. This plugin project is then referenced, by a Unity game project. I believe the issue was that the game project wasn't properly referencing the built tar packages.

So now both the plugin project and game project are referencing the Apple Unity Plugin packages through pointing to their tarballs.

Issues building Unity plug-in project: Cannot locate native library Apple.Core/Apple.GameKit for iOS
 
 
Q