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)
Comments (5)
-
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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
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");