Search Issue Tracker

By Design



Found in



Issue ID




[iOS] xib files are not added to Xcode's "Copy Bundle Resources" build phase



How to reproduce:
1. Build the attached project for iOS
2. Open the Xcode project
3. Open Unity-iPhone > Build Phases
4. Extend the "Copy Bundle Resources" tab

Actual result: .xib file is not added to "Copy Bundle Resources".
Expected result: .xib file should be added to "Copy Bundle Resources" automatically.

Reproducible with: 2020.1.0a16, 2019.3.0f2, 2019.3.0a2.
Regression introduced in: 2019.3.0a2.
Not reproducible with: 2017.4.35f1, 2018.4.14f1, 2019.1.14f1, 2019.2.16f1, 2019.3.0a1.

  1. Resolution Note (2020.1.X):

    xib is added to a "Copy Bundle Resources" of the UnityFramework target/bundle while plugin is expecting xib to be in Main Bundle. In order to Plugin work correctly in both cases (Unity as a Library integration and Stand Alone) this should be fixed on Plugin side ( load xib from com.unity3d.framework bundle)

    As a workaround, for now, check-in Unity and check-out UnityFramework Targets on xib file in Target Membership window in Xcode.

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.