Skip to content

Commit

Permalink
Performed conversion to Swift 4, with recommended Minimize @objc Infe…
Browse files Browse the repository at this point in the history
…rence option

Xcode 9.4's conversion to Swift 4 made minimal changes for this lib, really just changing the `SWIFT_VERSION` build setting to `4.0` (it made that change on the target; I moved it to project-level).  No additional `@objc`s or whatnot were required.
  • Loading branch information
capnslipp committed Jun 15, 2018
1 parent f307b91 commit f362edb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Tribool.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@
isa = PBXProject;
attributes = {
LastUpgradeCheck = 9999;
TargetAttributes = {
OBJ_14 = {
LastSwiftMigration = 0940;
};
};
};
buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "Tribool" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -183,7 +188,7 @@
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.0;
USE_HEADERMAP = NO;
};
name = Debug;
Expand All @@ -204,7 +209,7 @@
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.0;
USE_HEADERMAP = NO;
};
name = Release;
Expand Down

0 comments on commit f362edb

Please sign in to comment.