Skip to content

Commit 3ff7255

Browse files
specify platforms
1 parent ed44471 commit 3ff7255

File tree

4 files changed

+28
-18
lines changed

4 files changed

+28
-18
lines changed

Example/Podfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ EXTERNAL SOURCES:
1616

1717
SPEC CHECKSUMS:
1818
ColorizeSwift: 4eef354dce7335d7747a0ccacf78afe2b589a1be
19-
SwiftPrettyPrint: 926edf85fbcd88aebff58949e198bf7858fd287d
19+
SwiftPrettyPrint: c15e7661db8446aa5271be190e0f5cbaf2aae179
2020

2121
PODFILE CHECKSUM: e57c1331f81ff220ccc169627a83df5238a8e57f
2222

Package.swift

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ import PackageDescription
55

66
let package = Package(
77
name: "SwiftPrettyPrint",
8+
platforms: [
9+
.iOS(.v10),
10+
.macOS(.v10_12),
11+
.watchOS(.v3),
12+
.tvOS(.v10),
13+
],
814
products: [
915
.library(name: "SwiftPrettyPrint", targets: ["SwiftPrettyPrint"]),
1016
],

SwiftPrettyPrint.podspec

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ Pod::Spec.new do |spec|
1515
spec.author = { "Yusuke Hosonuma" => "[email protected]" }
1616
spec.social_media_url = "https://twitter.com/tobi462"
1717

18-
spec.platform = :ios, "9.0"
18+
spec.ios.deployment_target = "10.0"
19+
spec.osx.deployment_target = "10.12"
20+
spec.watchos.deployment_target = "3.0"
21+
spec.tvos.deployment_target = "10.0"
22+
1923
spec.source = { :git => "https://github.com/YusukeHosonuma/SwiftPrettyPrint.git", :tag => "#{spec.version}" }
2024

2125
spec.source_files = "Sources/**/*.{swift}"

SwiftPrettyPrint.xcodeproj/project.pbxproj

+16-16
Original file line numberDiff line numberDiff line change
@@ -538,12 +538,12 @@
538538
"$(inherited)"
539539
);
540540
INFOPLIST_FILE = "SwiftPrettyPrint.xcodeproj/SwiftPrettyPrint_Info.plist";
541-
IPHONEOS_DEPLOYMENT_TARGET = "9.0";
541+
IPHONEOS_DEPLOYMENT_TARGET = "10.0";
542542
LD_RUNPATH_SEARCH_PATHS = (
543543
"$(inherited)",
544544
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"
545545
);
546-
MACOSX_DEPLOYMENT_TARGET = "10.10";
546+
MACOSX_DEPLOYMENT_TARGET = "10.12";
547547
OTHER_CFLAGS = (
548548
"$(inherited)"
549549
);
@@ -562,8 +562,8 @@
562562
);
563563
SWIFT_VERSION = "5.0";
564564
TARGET_NAME = "SwiftPrettyPrint";
565-
TVOS_DEPLOYMENT_TARGET = "9.0";
566-
WATCHOS_DEPLOYMENT_TARGET = "2.0";
565+
TVOS_DEPLOYMENT_TARGET = "10.0";
566+
WATCHOS_DEPLOYMENT_TARGET = "3.0";
567567
};
568568
name = "Debug";
569569
};
@@ -579,12 +579,12 @@
579579
"$(inherited)"
580580
);
581581
INFOPLIST_FILE = "SwiftPrettyPrint.xcodeproj/SwiftPrettyPrint_Info.plist";
582-
IPHONEOS_DEPLOYMENT_TARGET = "9.0";
582+
IPHONEOS_DEPLOYMENT_TARGET = "10.0";
583583
LD_RUNPATH_SEARCH_PATHS = (
584584
"$(inherited)",
585585
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"
586586
);
587-
MACOSX_DEPLOYMENT_TARGET = "10.10";
587+
MACOSX_DEPLOYMENT_TARGET = "10.12";
588588
OTHER_CFLAGS = (
589589
"$(inherited)"
590590
);
@@ -603,8 +603,8 @@
603603
);
604604
SWIFT_VERSION = "5.0";
605605
TARGET_NAME = "SwiftPrettyPrint";
606-
TVOS_DEPLOYMENT_TARGET = "9.0";
607-
WATCHOS_DEPLOYMENT_TARGET = "2.0";
606+
TVOS_DEPLOYMENT_TARGET = "10.0";
607+
WATCHOS_DEPLOYMENT_TARGET = "3.0";
608608
};
609609
name = "Release";
610610
};
@@ -839,8 +839,8 @@
839839
);
840840
SWIFT_VERSION = "5.0";
841841
TARGET_NAME = "SwiftPrettyPrintTests";
842-
TVOS_DEPLOYMENT_TARGET = "9.0";
843-
WATCHOS_DEPLOYMENT_TARGET = "2.0";
842+
TVOS_DEPLOYMENT_TARGET = "10.0";
843+
WATCHOS_DEPLOYMENT_TARGET = "3.0";
844844
};
845845
name = "Debug";
846846
};
@@ -878,8 +878,8 @@
878878
);
879879
SWIFT_VERSION = "5.0";
880880
TARGET_NAME = "SwiftPrettyPrintTests";
881-
TVOS_DEPLOYMENT_TARGET = "9.0";
882-
WATCHOS_DEPLOYMENT_TARGET = "2.0";
881+
TVOS_DEPLOYMENT_TARGET = "10.0";
882+
WATCHOS_DEPLOYMENT_TARGET = "3.0";
883883
};
884884
name = "Release";
885885
};
@@ -1498,11 +1498,11 @@
14981498
"OBJ_72" = {
14991499
isa = "PBXGroup";
15001500
children = (
1501-
"SwiftPrettyPrint::SwiftPrettyPrintTests::Product",
1502-
"Curry::Curry::Product",
1503-
"SwiftPrettyPrint::SwiftPrettyPrint::Product",
15041501
"ColorizeSwift::ColorizeSwift::Product",
1505-
"SwiftParamTest::SwiftParamTest::Product"
1502+
"SwiftPrettyPrint::SwiftPrettyPrint::Product",
1503+
"SwiftParamTest::SwiftParamTest::Product",
1504+
"SwiftPrettyPrint::SwiftPrettyPrintTests::Product",
1505+
"Curry::Curry::Product"
15061506
);
15071507
name = "Products";
15081508
path = "";

0 commit comments

Comments
 (0)