From 510e2400db019de1a9122dd1cae61518bc82af99 Mon Sep 17 00:00:00 2001 From: Glen Low Date: Sat, 17 Dec 2016 11:39:42 +0800 Subject: [PATCH] Support tvOS better * Start deploy to tvOS 9.2. * Share tvOS schemes. * Update podspec. --- README.markdown | 8 +- ZipZap.xcodeproj/project.pbxproj | 2 + .../ZipZap (tvOS Framework).xcscheme | 80 +++++++++++++++++++ .../ZipZap (tvOS Static Library).xcscheme | 80 +++++++++++++++++++ zipzap.podspec.json | 1 + 5 files changed, 167 insertions(+), 4 deletions(-) create mode 100644 ZipZap.xcodeproj/xcshareddata/xcschemes/ZipZap (tvOS Framework).xcscheme create mode 100644 ZipZap.xcodeproj/xcshareddata/xcschemes/ZipZap (tvOS Static Library).xcscheme diff --git a/README.markdown b/README.markdown index f50b94b8..7a8713b0 100644 --- a/README.markdown +++ b/README.markdown @@ -1,6 +1,6 @@ [![Build Status](https://travis-ci.org/pixelglow/ZipZap.svg)](https://travis-ci.org/pixelglow/ZipZap) -**ZipZap** is a zip file I/O library for macOS and iOS. +**ZipZap** is a zip file I/O library for iOS, macOS and tvOS. The zip file is an ideal container for compound Objective-C documents. Zip files are widely used and well understood. You can randomly access their parts. The format compresses decently and has extensive operating system and tool support. So we want to make this format an even easier choice for you. Thus, the library features: @@ -15,7 +15,7 @@ As an independent project: * In the Terminal, run `git clone https://github.com/pixelglow/ZipZap.git`. * Within the *ZipZap* directory, open the *ZipZap.xcodeproj* Xcode project. -* In the Xcode project, select either the *ZipZap (iOS Framework)*, *ZipZap (iOS Static Library)*, *ZipZap (macOS Framework)* or *ZipZap (macOS Static Library)* scheme from the drop down. +* In the Xcode project, select either the *ZipZap (iOS Framework)*, *ZipZap (iOS Static Library)*, *ZipZap (macOS Framework)*, *ZipZap (macOS Static Library)*, *ZipZap (tvOS Framework)* or *ZipZap (tvOS Static Library)* scheme from the drop down. * You can now build, test (macOS only) or analyze with the selected scheme. * The built libraries and test cases are in a subdirectory of *~/Library/Developer/Xcode/DerivedData*. @@ -86,10 +86,10 @@ Require * **Build**: Xcode 7 and later. * **Link**: Only system libraries; no third-party libraries needed. - * *ApplicationServices.framework* (macOS) or *ImageIO.framework* (iOS) + * *ApplicationServices.framework* (macOS) or *ImageIO.framework* (iOS, tvOS) * *Foundation.framework* * *libz.dylib* -* **Run**: macOS 10.11 (El Capitan) or iOS 9.3 and later. +* **Run**: macOS 10.11 (El Capitan), iOS 9.3 or tvOS 9.2 and later. Support ------- diff --git a/ZipZap.xcodeproj/project.pbxproj b/ZipZap.xcodeproj/project.pbxproj index b02dafc1..e3a1b164 100644 --- a/ZipZap.xcodeproj/project.pbxproj +++ b/ZipZap.xcodeproj/project.pbxproj @@ -1202,6 +1202,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 9.3; MACOSX_DEPLOYMENT_TARGET = 10.11; TARGETED_DEVICE_FAMILY = "1,2"; + TVOS_DEPLOYMENT_TARGET = 9.2; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -1246,6 +1247,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 9.3; MACOSX_DEPLOYMENT_TARGET = 10.11; TARGETED_DEVICE_FAMILY = "1,2"; + TVOS_DEPLOYMENT_TARGET = 9.2; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; }; diff --git a/ZipZap.xcodeproj/xcshareddata/xcschemes/ZipZap (tvOS Framework).xcscheme b/ZipZap.xcodeproj/xcshareddata/xcschemes/ZipZap (tvOS Framework).xcscheme new file mode 100644 index 00000000..95174337 --- /dev/null +++ b/ZipZap.xcodeproj/xcshareddata/xcschemes/ZipZap (tvOS Framework).xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ZipZap.xcodeproj/xcshareddata/xcschemes/ZipZap (tvOS Static Library).xcscheme b/ZipZap.xcodeproj/xcshareddata/xcschemes/ZipZap (tvOS Static Library).xcscheme new file mode 100644 index 00000000..0bbef8cc --- /dev/null +++ b/ZipZap.xcodeproj/xcshareddata/xcschemes/ZipZap (tvOS Static Library).xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/zipzap.podspec.json b/zipzap.podspec.json index a3d7cf4c..94fc0072 100644 --- a/zipzap.podspec.json +++ b/zipzap.podspec.json @@ -16,6 +16,7 @@ "platforms": { "ios": "9.3", "osx": "10.11", + "tvos": "9.2", "watchos": "3.0" }, "requires_arc": true,