Search Issue Tracker
Won't Fix
Votes
5
Found in
2019.4
2019.4.4f1
2020.2
Issue ID
1265255
Regression
No
[iOS] "Invalid SWIFT_VERSION: Could not parse version component from: '0 5'" error when deploying proj. with some SDKs in Xcode
Reproduction steps:
1. Open customer's attached project in "FacebookSDK_Try.zip"
2. Build the project for iOS and open .xcworkspace
3. Try deploying the project to a device
Unexpected behavior: deployment fails due to invalid SWIFT_VERSION
4. Select UnityFramework Target and go to Build Settings
5. Change Swift Language Version from "Swift 5" to "Swift 5" (no mistake here)
6. Try deploying it again
The issue is resolved and the project is now deployed
Reproducible with: 2019.4.6f1, 2020.1.0f1, 2020.2.0a19
Could not test with: 2018.4, 2019.3.0a1 because of errors in the console
Notes:
1. The scene deployed can be empty (SampleScene has 3 cubes)
2. The project uses FacebookSDK, NiceVibrations (and some scripts executed in Editor mode)
3. A video is attached in 2020-07-28 10-45-52.mov (4.8 MB)
-
Swarley_92
Jun 24, 2021 13:46
Thanks. solved
-
bourriquet
Sep 14, 2020 13:11
That didn't fix it for me.
-
VHNGames
Sep 08, 2020 21:43
Same here, 2019.4.9f1
-
Masashi-Wada
Aug 09, 2020 17:51
Thank you.
I had the same problem. -
AlenBrk
Aug 06, 2020 11:45
Thanks you, this helped me.
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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Resolution Note:
The issue lies within the Nice Vibrations package. To fix, change:
pbxProject.AddBuildProperty(targetGUID, "SWIFT_VERSION", "5.1");
to:
pbxProject.SetBuildProperty(targetGUID, "SWIFT_VERSION", "5.1");