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
- "Shader warning in 'Hidden/HDRP/DownsampleDepth'" warnings are thrown after building a project
- Scene is not rendered and appears black when the Custom Renderer Feature is utilized
- [ShortcutManager] The Context Menu is not updated in the Shortcuts menu when resolving a Binding Conflict
- [Quest] Foveation Level is 0 when SRP Foveation is enabled
- Freeze when displaying text with "-T" in Play mode
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");