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
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
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