Search Issue Tracker

Won't Fix

Under Consideration for 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X

Votes

0

Found in

2022.3.12f1

2023.1.18f1

2023.2.0b15

2023.3.0a11

Issue ID

UUM-54297

Regression

Yes

[tvOS] Errors are thrown when building a Project with Apple Unity Plug-Ins

-

How to reproduce:
1. Open the attached Project "tvos_appleunityplugins"
2. Build the Project for tvOS
3. Observe the Console

Expected result: No errors can be seen in the Console
Actual result: The following errors can be seen in the Console:
"CopyAndEmbed expected to find an existing GUID for AppleCoreNative.framework at com.apple.unityplugin.core/Plugins/tvOS/AppleCoreNative.framework but could not be found."
"CopyAndEmbed expected to find an existing GUID for GameKitWrapper.framework at com.apple.unityplugin.gamekit/Plugins/tvOS/GameKitWrapper.framework but could not be found."

Reproducible with: 2022.2.0a3, 2022.3.12f1, 2023.1.18f1, 2023.2.0b15, 2023.3.0a11
Not reproducible with: 2021.3.31f1, 2022.2.0a2

Reproduced on:
- MacOS Editor (13.5.2, Intel)

Notes:
- The Build is still reported as successful, however, the generated tvOS Build fails to launch on a tvOS device
- Issue does not reproduce when building for iOS

  1. Resolution Note:

    The issue is not reproducible in the original environment it was discovered, as such, this issue is being closed due to lack of reproduction on our end

Comments (1)

  1. Wriggler

    Jan 23, 2024 12:26

    This is an issue with the plugins published by Apple, available at https://github.com/apple/unityplugins. It's still an issue when building for tvOS and macOS, but works ok for iOS. The issue is coming from AppleFrameworkUtility.cs line 154, here:

    fileGuid = pbxProject.FindFileGuidByProjectPath(Path.Combine("Libraries", expectedInstallPath)); //this returns an empty string on tvOS and macOS

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.