Hello all
A user notified me that Unity is migrating their Ads SDK to Swift :
https://docs.unity.com/ads/InstallingTheiOSSDK.html
“Starting in SDK version 4.4.0, Unity Ads has been optimized by using the Swift programming language.”
That was unexpected...
At the moment, the builder doesn't support cross-building Swift code for ARM/iOS on Windows. Some preliminary work was done for that some time ago, but that was stopped considering that it affected only CocoaPods plugins of which pre-compiled versions were always available, providing a convenient (and recommended) workaround.
The thing to do at the moment, is to use a version of the Unity Ads SDK prior to 4.4, and not upgrade to 4.4+ before Swift support is added to the builder.
I hope it won't be too much of an inconvenience.
:: @Pierre-Marie Baty added on 23 Nov ’22 · 10:47
To make it 100% clear this is just about *Unity Ads*. The Unity Engine itself contains no Swift files and the builder toolchain remains totally able to build Xcode projects generated by it.