Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
[iOS] `Swift Language Version` is not set in Xcode Build Settings when a .swift source plugin is added to an Unity Project
1. Add a valid .swift source file to your Unity project and mark it as an iOS plugin.
2. Export and Xcode project and build it.
3. Observe that Xcode fails with:
The target "Unity-iPhone" contains source code developed with Swift 3.x. This version of Xcode does not support building or migrating Swift 3.x targets.
(or something similar)
This happens because we don't set the "Swift Language Version" (SWIFT_VERSION)" field to any Swift version in our build post-processor.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- New 3D URP Sample Scenes Project is created with an invalid dependency on com.unity.render-pipelines.universal-config when creating the Sample Project for the first time
- Canvas Scaler causes abnormal scaling of Canvas elements in Play Mode when UI Scale Mode is set to "Constant Physical Size" and any Editor window is moved to a differently scaled monitor and is interacted with
- [2D] Light 2D component does not light the sprite correctly in the Play Mode
- Animator.GetCurrentAnimatorClipInfo() returns an empty list when the Animator is playing the animation
- SHADERPASS has incorrect value when using Shader Graph for Built-In target