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
- Standard Unity Materials and Shaders become corrupted after importing specific Asset Packages
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform
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