Search Issue Tracker
By Design
By Design in 2022.3.X
Votes
0
Found in
2022.3.23f1
Issue ID
UUM-70282
Regression
Yes
[iOS] Builds fail when using .xcframework plugins
How to reproduce:
1. Download and open the attached project
2. Build and deploy the project to iOS
3. Observe the console
Expected outcome: Build does not fail
Actual outcome: The build fails with "Internal build system error. BuildProgram exited with code 1.
warning: Unknown file extension: xml
warning: Unknown file extension: properties
warning: Unknown file extension: xml
warning: Unknown file extension: properties
warning: Unknown file extension: xml
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at iOSPlayerBuildProgram.SetupTargetForInludedFile(IncludedFile file)
at iOSPlayerBuildProgram.AddProjectFile(NPath srcPath, NPath dstPath, Boolean addToEmbeddedBinaries, String targetGUID, Boolean shouldAddToProject, Boolean setTarget, SymlinkType symlinkType) " error
Reproducible with: 2022.3.23f1, 2022.3.25f2, 2023.2.19f1, 2023.3.0b10, 6000.0.0b16
Does not reproduce with: 2021.3, 2022.3.22f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Empty xcframeworks/frameworks are not supported. Xcode build would fail if an empty xcframework would be included. Later Unity versions has a proper error message explaining that the build failed because of an empty framework.
Resolution Note (2022.3.X):
Empty xcframeworks/frameworks are not supported. Xcode build would fail if an empty xcframework would be included. Later Unity versions has a proper error message explaining that the build failed because of an empty framework.