Skip to content

Commit

Permalink
Update Package.swift for Swift 4
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Dec 24, 2017
1 parent b79a7c3 commit f6ecda7
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.1
4.0
51 changes: 30 additions & 21 deletions Diff.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
2175D3CE1D17268C009C6845 /* Diff.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2175D3C41D17268C009C6845 /* Diff.framework */; };
2175D3F71D1726A8009C6845 /* Diff.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2175D3ED1D1726A8009C6845 /* Diff.framework */; };
2175D4121D1726E9009C6845 /* Diff.h in Headers */ = {isa = PBXBuildFile; fileRef = 2175D4091D1726E9009C6845 /* Diff.h */; settings = {ATTRIBUTES = (Public, ); }; };
2175D41A1D172706009C6845 /* Diff+NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2175D4181D172706009C6845 /* Diff+NSString.swift */; };
2175D41B1D172706009C6845 /* Diff.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2175D4191D172706009C6845 /* Diff.swift */; };
2175D4291D172713009C6845 /* Diff.h in Headers */ = {isa = PBXBuildFile; fileRef = 2175D4091D1726E9009C6845 /* Diff.h */; settings = {ATTRIBUTES = (Public, ); }; };
2175D42A1D172714009C6845 /* Diff.h in Headers */ = {isa = PBXBuildFile; fileRef = 2175D4091D1726E9009C6845 /* Diff.h */; settings = {ATTRIBUTES = (Public, ); }; };
2175D42B1D172714009C6845 /* Diff.h in Headers */ = {isa = PBXBuildFile; fileRef = 2175D4091D1726E9009C6845 /* Diff.h */; settings = {ATTRIBUTES = (Public, ); }; };
2175D42C1D172730009C6845 /* Diff.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2175D4191D172706009C6845 /* Diff.swift */; };
2175D42D1D172730009C6845 /* Diff+NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2175D4181D172706009C6845 /* Diff+NSString.swift */; };
2175D42E1D172731009C6845 /* Diff.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2175D4191D172706009C6845 /* Diff.swift */; };
2175D42F1D172731009C6845 /* Diff+NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2175D4181D172706009C6845 /* Diff+NSString.swift */; };
2175D4301D172731009C6845 /* Diff.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2175D4191D172706009C6845 /* Diff.swift */; };
2175D4311D172731009C6845 /* Diff+NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2175D4181D172706009C6845 /* Diff+NSString.swift */; };
21CE6AC11FEF60A200227C1A /* Diff+NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21CE6ABF1FEF60A200227C1A /* Diff+NSString.swift */; };
21CE6AC21FEF60A200227C1A /* Diff.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21CE6AC01FEF60A200227C1A /* Diff.swift */; };
21CE6AC31FEF60A500227C1A /* Diff.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21CE6AC01FEF60A200227C1A /* Diff.swift */; };
21CE6AC41FEF60A500227C1A /* Diff+NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21CE6ABF1FEF60A200227C1A /* Diff+NSString.swift */; };
21CE6AC51FEF60A600227C1A /* Diff.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21CE6AC01FEF60A200227C1A /* Diff.swift */; };
21CE6AC61FEF60A600227C1A /* Diff+NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21CE6ABF1FEF60A200227C1A /* Diff+NSString.swift */; };
21CE6AC71FEF60A600227C1A /* Diff.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21CE6AC01FEF60A200227C1A /* Diff.swift */; };
21CE6AC81FEF60A600227C1A /* Diff+NSString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21CE6ABF1FEF60A200227C1A /* Diff+NSString.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -71,8 +71,8 @@
2175D3F61D1726A8009C6845 /* DiffTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DiffTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
2175D4091D1726E9009C6845 /* Diff.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Diff.h; sourceTree = "<group>"; };
2175D40A1D1726E9009C6845 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2175D4181D172706009C6845 /* Diff+NSString.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Diff+NSString.swift"; sourceTree = "<group>"; };
2175D4191D172706009C6845 /* Diff.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Diff.swift; sourceTree = "<group>"; };
21CE6ABF1FEF60A200227C1A /* Diff+NSString.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "Diff+NSString.swift"; path = "Diff/Diff+NSString.swift"; sourceTree = "<group>"; };
21CE6AC01FEF60A200227C1A /* Diff.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Diff.swift; path = Diff/Diff.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -186,8 +186,8 @@
2175D4171D172706009C6845 /* Sources */ = {
isa = PBXGroup;
children = (
2175D4191D172706009C6845 /* Diff.swift */,
2175D4181D172706009C6845 /* Diff+NSString.swift */,
21CE6AC01FEF60A200227C1A /* Diff.swift */,
21CE6ABF1FEF60A200227C1A /* Diff+NSString.swift */,
);
path = Sources;
sourceTree = "<group>";
Expand Down Expand Up @@ -368,7 +368,7 @@
TargetAttributes = {
2175D3A41D17267D009C6845 = {
CreatedOnToolsVersion = 7.3.1;
LastSwiftMigration = 0800;
LastSwiftMigration = 0920;
};
2175D3AE1D17267D009C6845 = {
CreatedOnToolsVersion = 7.3.1;
Expand Down Expand Up @@ -471,8 +471,8 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2175D41B1D172706009C6845 /* Diff.swift in Sources */,
2175D41A1D172706009C6845 /* Diff+NSString.swift in Sources */,
21CE6AC21FEF60A200227C1A /* Diff.swift in Sources */,
21CE6AC11FEF60A200227C1A /* Diff+NSString.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -490,8 +490,8 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2175D4311D172731009C6845 /* Diff+NSString.swift in Sources */,
2175D4301D172731009C6845 /* Diff.swift in Sources */,
21CE6AC41FEF60A500227C1A /* Diff+NSString.swift in Sources */,
21CE6AC31FEF60A500227C1A /* Diff.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -509,17 +509,17 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2175D42F1D172731009C6845 /* Diff+NSString.swift in Sources */,
2175D42E1D172731009C6845 /* Diff.swift in Sources */,
21CE6AC61FEF60A600227C1A /* Diff+NSString.swift in Sources */,
21CE6AC51FEF60A600227C1A /* Diff.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
2175D3E81D1726A8009C6845 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2175D42D1D172730009C6845 /* Diff+NSString.swift in Sources */,
2175D42C1D172730009C6845 /* Diff.swift in Sources */,
21CE6AC81FEF60A600227C1A /* Diff+NSString.swift in Sources */,
21CE6AC71FEF60A600227C1A /* Diff.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -679,6 +679,7 @@
2175D3BA1D17267D009C6845 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -688,13 +689,15 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.samsoffes.diff;
PRODUCT_NAME = Diff;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
};
name = Debug;
};
2175D3BB1D17267D009C6845 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -711,6 +714,7 @@
2175D3BD1D17267D009C6845 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;
INFOPLIST_FILE = Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
Expand All @@ -723,6 +727,7 @@
2175D3BE1D17267D009C6845 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;
INFOPLIST_FILE = Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
Expand Down Expand Up @@ -773,6 +778,7 @@
2175D3D91D17268C009C6845 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
Expand All @@ -789,6 +795,7 @@
2175D3DA1D17268C009C6845 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
Expand Down Expand Up @@ -877,6 +884,7 @@
2175D4021D1726A8009C6845 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;
INFOPLIST_FILE = Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
Expand All @@ -891,6 +899,7 @@
2175D4031D1726A8009C6845 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;
INFOPLIST_FILE = Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
Expand Down
17 changes: 9 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
//
// Package.swift
// Diff
//
// Created by Sam Soffes on 4/12/16.
// Copyright © 2016 Sam Soffes. All rights reserved.
//
// swift-tools-version:4.0

import PackageDescription

let package = Package(
name: "Diff"
name: "Diff",
products: [
.library(name: "Diff", targets: ["Diff"]),
],
targets: [
.target(name: "Diff"),
.testTarget(name: "DiffTests"),
]
)
2 changes: 1 addition & 1 deletion Readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Version](https://img.shields.io/github/release/soffes/Diff.svg)](https://github.com/soffes/Diff/releases)
[![Build Status](https://travis-ci.org/soffes/Diff.svg?branch=master)](https://travis-ci.org/soffes/Diff)
![Swift Version](https://img.shields.io/badge/swift-3.0.1-orange.svg)
![Swift Version](https://img.shields.io/badge/swift-4.0-orange.svg)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

Simple diffing library in pure Swift.
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Support/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.2.1</string>
<string>0.2.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit f6ecda7

Please sign in to comment.