Skip to content

Commit 4e088d2

Browse files
committed
Swift 4.2 in the checked in Xcode project.
The source will always follow the project's compatibility policy, but this gets the checked in Xcode project to no offer up the Swift upgrade when it is used.
1 parent 965fb28 commit 4e088d2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

SwiftProtobuf.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,6 +1303,12 @@
13031303
CreatedOnToolsVersion = 8.0;
13041304
ProvisioningStyle = Manual;
13051305
};
1306+
"______Target_Protobuf" = {
1307+
LastSwiftMigration = 1010;
1308+
};
1309+
"______Target_ProtobufTestSuite" = {
1310+
LastSwiftMigration = 1010;
1311+
};
13061312
};
13071313
};
13081314
buildConfigurationList = "___RootConfs_" /* Build configuration list for PBXProject "SwiftProtobuf" */;
@@ -2282,7 +2288,7 @@
22822288
SKIP_INSTALL = YES;
22832289
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
22842290
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;
2285-
SWIFT_VERSION = 4.0;
2291+
SWIFT_VERSION = 4.2;
22862292
USE_HEADERMAP = NO;
22872293
VALIDATE_PRODUCT = YES;
22882294
};
@@ -2344,7 +2350,7 @@
23442350
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
23452351
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
23462352
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;
2347-
SWIFT_VERSION = 4.0;
2353+
SWIFT_VERSION = 4.2;
23482354
USE_HEADERMAP = NO;
23492355
};
23502356
name = Debug;

0 commit comments

Comments
 (0)