Ever since I\'ve updated to Xcode 8.2 (GM seed, from the App Store), I have been stuck at the following error:
Use Legacy Swift Language Version” (SWIFT_V
The phantom No answer will work. The real reason XCode is broken is because Apples XCode "use legacy setting" is really a Swift Version number. In XCode 8.1 'No' translated to 3.0.1, in XCode 8.2 'No' translates to 3.0. So you need to switch the version to Swift 3.0 . Which makes sense. Was a bug in XCode 8.1 I guess.
My git diff:
--- a/ios/myapp.xcodeproj/project.pbxproj
+++ b/ios/myapp.xcodeproj/project.pbxproj
@@ -1757,7 +1757,7 @@
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 3.0.1;
+ SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
I see a comment above that has the same answer just think it needs to stand out more.