Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
0
Found in
2018.4
2019.4.7f1
2020.2
Issue ID
1271712
Regression
No
[iOS] Xcode project uses libiPhone-lib.dylib instead libiPhone-lib.a file when Target SDK is changed from Simulator to Device
How to reproduce:
1. Open the attached 'EmptyProjectViaScript.zip' project
2. Change Target SDK to Simulator SDK in Player Settings
3. Press BuildMenu > Build in the Menu bar to build Xcode project
4. Open the Xcode project and notice that libiPhone-lib.dylib is present in the Libraries folder
5. Change Target SDK to Device SDK in Player Settings
6. Press BuildMenu > Build in the Menu bar to append the existing build folder
Expected result: The Xcode project contains libiPhone-lib.a in the Libraries folder and the Xcode project builds successfully
Actual result: The Xcode project contains libiPhone-lib.dylib in the Libraries folder and the Xcode project fails to build
Reproducible with: 2018.4.26f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0a21
Notes:
- A screenshot of the error is attached in Edit
- Append flag does not appear when building through menu bar
- This only happens when building Simulator first, then Device. It doesn't happen in the other direction
- This issue is related to 1216005 which was fixed, but the build keeps failing the same way when building through BuildPipeline.BuildPlayer, and while using BuildOptions.AcceptExternalModificationsToPlayer. After further investigation, it was decided to create a new bug report
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.1):
Fixed in 2020.1.10f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.13f1