It very simple to fix. For some reason Unity switches “Always Embed Swift Standard Libraries”.
No need to run any scripts or delete anything.
-
Set yes on Always Embed Swift Standard Libraries in target Unity-iPhone in Build Settings.
-
Set no on Always Embed Swift Standard Libraries in target UnityFramework in Build Settings.
-
Done