Skip to content

[iOS] xcframework split during package import #2468

@uptaleRaphael

Description

@uptaleRaphael

Unity version

2021.3.56f2

Unity editor platform

macOS

AVPro Video edition

Ultra

AVPro Video version

3.3.6

Device hardware

.

Which iOS version are you using?

.

Texture format

BGRA

Audio output

System Direct

Any other Media Player component configuration required to reproduce the issue.

No response

Which output component(s) are you using?

No response

Any other component configuration required to reproduce the issue.

No response

The issue

Possibly the same issue as #2398

When importing the package into our project, the AVProVideo.xcframework is split in two:

  • Assets/AVProVideo/Runtime/Plugins/iOS/AVProVideo.xcframework - Containing all the slices
  • Assets/Plugins/iOS/AVProVideo.xcframework - Containing the .plist file

In such a case, the XCode build breaks (missing .plist file) and moving the .plist file into the other package does not allow the build to succeed (missing ios-arm64 folder).

We identified that the presence of an Assets/Plugins/iOS folder containing a file was the cause of the split, and without it, only the xcframework inside AVProVideo folder is installed, containing the slices and the .plist file, resulting in a successful build.

Media information

No response

Log output

Metadata

Metadata

Assignees

Labels

iOSiOS platformtriageNeeds triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions