Skip to content

Commit 4a91005

Browse files
committed
Setup podspec
1 parent cf0b596 commit 4a91005

File tree

12 files changed

+32
-10
lines changed

12 files changed

+32
-10
lines changed

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.0

MessageLabel.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Pod::Spec.new do |s|
44
s.version = "0.0.1"
55
s.summary = "A label to be used in MessageKit"
66
s.license = { :type => "MIT", :file => "LICENSE" }
7-
s.homepage = "https://github.com/SD10/MessageKit"
7+
s.homepage = "https://github.com/SD10/MessageLabel"
88
s.author = { "Steven Deutsch" => "[email protected]" }
99
s.social_media_url = "https://twitter.com/_SD10_"
1010
s.platform = :ios, "9.0"
11-
s.requires_arc = "true"
12-
s.source = { git: "https://github.com/SD10/MessageKit.git", tag: "#{s.version}" }
13-
s.source_files = "MessageKit/**/*.*"
11+
s.requires_arc = true
12+
s.source = { git: "https://github.com/SD10/MessageLabel.git", tag: "#{s.version}" }
13+
s.source_files = "Sources/**/*.swift"
1414
s.pod_target_xcconfig = {
1515
"SWIFT_VERSION" => "4.0",
1616
}

MessageLabel/MessageLabel.xcodeproj/project.pbxproj renamed to MessageLabel.xcodeproj/project.pbxproj

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
B006FA171F99F14F00509C46 /* MessageLabel.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B006FA0D1F99F14E00509C46 /* MessageLabel.framework */; };
1111
B006FA1C1F99F14F00509C46 /* MessageLabelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B006FA1B1F99F14F00509C46 /* MessageLabelTests.swift */; };
1212
B006FA1E1F99F14F00509C46 /* MessageLabel.h in Headers */ = {isa = PBXBuildFile; fileRef = B006FA101F99F14E00509C46 /* MessageLabel.h */; settings = {ATTRIBUTES = (Public, ); }; };
13+
B006FA291F99F6D300509C46 /* MessageLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = B006FA281F99F6D300509C46 /* MessageLabel.swift */; };
1314
/* End PBXBuildFile section */
1415

1516
/* Begin PBXContainerItemProxy section */
@@ -29,6 +30,7 @@
2930
B006FA161F99F14F00509C46 /* MessageLabelTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MessageLabelTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3031
B006FA1B1F99F14F00509C46 /* MessageLabelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageLabelTests.swift; sourceTree = "<group>"; };
3132
B006FA1D1F99F14F00509C46 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
33+
B006FA281F99F6D300509C46 /* MessageLabel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageLabel.swift; sourceTree = "<group>"; };
3234
/* End PBXFileReference section */
3335

3436
/* Begin PBXFrameworksBuildPhase section */
@@ -53,8 +55,8 @@
5355
B006FA031F99F14E00509C46 = {
5456
isa = PBXGroup;
5557
children = (
56-
B006FA0F1F99F14E00509C46 /* MessageLabel */,
57-
B006FA1A1F99F14F00509C46 /* MessageLabelTests */,
58+
B006FA0F1F99F14E00509C46 /* Sources */,
59+
B006FA1A1F99F14F00509C46 /* Tests */,
5860
B006FA0E1F99F14E00509C46 /* Products */,
5961
);
6062
sourceTree = "<group>";
@@ -68,22 +70,23 @@
6870
name = Products;
6971
sourceTree = "<group>";
7072
};
71-
B006FA0F1F99F14E00509C46 /* MessageLabel */ = {
73+
B006FA0F1F99F14E00509C46 /* Sources */ = {
7274
isa = PBXGroup;
7375
children = (
7476
B006FA101F99F14E00509C46 /* MessageLabel.h */,
7577
B006FA111F99F14E00509C46 /* Info.plist */,
78+
B006FA281F99F6D300509C46 /* MessageLabel.swift */,
7679
);
77-
path = MessageLabel;
80+
path = Sources;
7881
sourceTree = "<group>";
7982
};
80-
B006FA1A1F99F14F00509C46 /* MessageLabelTests */ = {
83+
B006FA1A1F99F14F00509C46 /* Tests */ = {
8184
isa = PBXGroup;
8285
children = (
8386
B006FA1B1F99F14F00509C46 /* MessageLabelTests.swift */,
8487
B006FA1D1F99F14F00509C46 /* Info.plist */,
8588
);
86-
path = MessageLabelTests;
89+
path = Tests;
8790
sourceTree = "<group>";
8891
};
8992
/* End PBXGroup section */
@@ -148,6 +151,7 @@
148151
TargetAttributes = {
149152
B006FA0C1F99F14E00509C46 = {
150153
CreatedOnToolsVersion = 9.0;
154+
LastSwiftMigration = 0900;
151155
ProvisioningStyle = Automatic;
152156
};
153157
B006FA151F99F14F00509C46 = {
@@ -196,6 +200,7 @@
196200
isa = PBXSourcesBuildPhase;
197201
buildActionMask = 2147483647;
198202
files = (
203+
B006FA291F99F6D300509C46 /* MessageLabel.swift in Sources */,
199204
);
200205
runOnlyForDeploymentPostprocessing = 0;
201206
};
@@ -334,6 +339,7 @@
334339
B006FA221F99F14F00509C46 /* Debug */ = {
335340
isa = XCBuildConfiguration;
336341
buildSettings = {
342+
CLANG_ENABLE_MODULES = YES;
337343
CODE_SIGN_IDENTITY = "";
338344
CODE_SIGN_STYLE = Automatic;
339345
DEFINES_MODULE = YES;
@@ -346,6 +352,7 @@
346352
PRODUCT_BUNDLE_IDENTIFIER = com.MessageKit.MessageLabel;
347353
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
348354
SKIP_INSTALL = YES;
355+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
349356
SWIFT_VERSION = 4.0;
350357
TARGETED_DEVICE_FAMILY = "1,2";
351358
};
@@ -354,6 +361,7 @@
354361
B006FA231F99F14F00509C46 /* Release */ = {
355362
isa = XCBuildConfiguration;
356363
buildSettings = {
364+
CLANG_ENABLE_MODULES = YES;
357365
CODE_SIGN_IDENTITY = "";
358366
CODE_SIGN_STYLE = Automatic;
359367
DEFINES_MODULE = YES;
@@ -374,6 +382,7 @@
374382
B006FA251F99F14F00509C46 /* Debug */ = {
375383
isa = XCBuildConfiguration;
376384
buildSettings = {
385+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
377386
CODE_SIGN_STYLE = Automatic;
378387
INFOPLIST_FILE = MessageLabelTests/Info.plist;
379388
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -387,6 +396,7 @@
387396
B006FA261F99F14F00509C46 /* Release */ = {
388397
isa = XCBuildConfiguration;
389398
buildSettings = {
399+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
390400
CODE_SIGN_STYLE = Automatic;
391401
INFOPLIST_FILE = MessageLabelTests/Info.plist;
392402
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";

MessageLabel/MessageLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to MessageLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata

File renamed without changes.

MessageLabel/MessageLabel.xcodeproj/xcuserdata/steven.xcuserdatad/xcschemes/xcschememanagement.plist renamed to MessageLabel.xcodeproj/xcuserdata/steven.xcuserdatad/xcschemes/xcschememanagement.plist

File renamed without changes.

Sources/MessageLabel.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
//
2+
// MessageLabel.swift
3+
// MessageLabel
4+
//
5+
// Created by Steven on 10/20/17.
6+
// Copyright © 2017 MessageKit. All rights reserved.
7+
//
8+
9+
import Foundation
10+
11+
class MessageLabel {}

0 commit comments

Comments
 (0)