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
- TutorialManager Warnings are thrown when creating Test Track or LEGO Templates
- Incorrect ScrollToItem behavior when called on a deattached ListView
- Zooming in/out in Scene View window on the display the zoom takes place in does not work
- Changing Game View resolution when there are 2 Game View Windows on 2 different displays makes the view stretched
- Maximising Game view window on one display makes black bars appear on another display
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