Skip to content

Commit fc425e9

Browse files
committed
Add support to MacOS
1 parent f4f515c commit fc425e9

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

DataLife.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Pod::Spec.new do |s|
1515
s.author = { 'João Lucas' => 'joaolucasfp2001@gmail.com' }
1616
s.social_media_url = 'https://twitter.com/joaolfp'
1717
s.requires_arc = true
18-
s.frameworks = 'UIKit'
1918

2019
s.swift_versions = ['5.0', '5.1']
2120
s.ios.deployment_target = '9.0'
21+
s.osx.deployment_target = "10.11"
2222

2323
s.source = { :git => 'https://github.com/heroesofcode/DataLife.git', :tag => s.version.to_s }
2424
s.source_files = 'Sources/DataLife/**/*'

DataLife.xcodeproj/project.pbxproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
OBJ_11 /* ObserverProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ObserverProtocol.swift; sourceTree = "<group>"; };
5757
OBJ_14 /* DataLifeTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataLifeTests.swift; sourceTree = "<group>"; };
5858
OBJ_15 /* XCTestManifests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XCTestManifests.swift; sourceTree = "<group>"; };
59-
OBJ_19 /* logo */ = {isa = PBXFileReference; lastKnownFileType = folder; path = logo; sourceTree = SOURCE_ROOT; };
6059
OBJ_20 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
6160
OBJ_21 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
6261
OBJ_22 /* DataLife.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = DataLife.podspec; sourceTree = "<group>"; };
@@ -111,19 +110,17 @@
111110
name = Products;
112111
sourceTree = BUILT_PRODUCTS_DIR;
113112
};
114-
OBJ_5 /* */ = {
113+
OBJ_5 = {
115114
isa = PBXGroup;
116115
children = (
117116
OBJ_6 /* Package.swift */,
118117
OBJ_7 /* Sources */,
119118
OBJ_12 /* Tests */,
120119
OBJ_16 /* Products */,
121-
OBJ_19 /* logo */,
122120
OBJ_20 /* LICENSE */,
123121
OBJ_21 /* README.md */,
124122
OBJ_22 /* DataLife.podspec */,
125123
);
126-
name = "";
127124
sourceTree = "<group>";
128125
};
129126
OBJ_7 /* Sources */ = {
@@ -212,7 +209,7 @@
212209
knownRegions = (
213210
en,
214211
);
215-
mainGroup = OBJ_5 /* */;
212+
mainGroup = OBJ_5;
216213
productRefGroup = OBJ_16 /* Products */;
217214
projectDirPath = "";
218215
projectRoot = "";

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PackageDescription
55

66
let package = Package(
77
name: "DataLife",
8-
platforms: [.iOS(.v9)],
8+
platforms: [.iOS(.v9), .macOS(.v10_11)],
99
products: [
1010
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1111
.library(

0 commit comments

Comments
 (0)