From 32e122f13b88bb62c1e4ceead04813e1111e3dd3 Mon Sep 17 00:00:00 2001 From: Piotr Tobolski Date: Wed, 22 Mar 2017 20:56:09 +0100 Subject: [PATCH] Add Carthage compatibility --- .travis.yml | 4 +- .../xcschemes/SwiftyInvocation.xcscheme | 71 +++++++++++++++++++ README.md | 15 ++-- 3 files changed, 84 insertions(+), 6 deletions(-) create mode 100644 Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/SwiftyInvocation.xcscheme diff --git a/.travis.yml b/.travis.yml index 8603324..7092125 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ -osx_image: xcode8.2 +osx_image: xcode8.1 language: objective-c script: -- set -o pipefail && xcodebuild test -workspace Example/SwiftyInvocation.xcworkspace -scheme SwiftyInvocation-Example -sdk iphonesimulator10.2 ONLY_ACTIVE_ARCH=NO | xcpretty +- set -o pipefail && xcodebuild test -workspace Example/SwiftyInvocation.xcworkspace -scheme SwiftyInvocation-Example -sdk iphonesimulator10.1 ONLY_ACTIVE_ARCH=NO | xcpretty - pod lib lint diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/SwiftyInvocation.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/SwiftyInvocation.xcscheme new file mode 100644 index 0000000..e69145b --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/SwiftyInvocation.xcscheme @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md index 0e3bc2d..25f49dc 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ # SwiftyInvocation [![CI Status](http://img.shields.io/travis/piotr-tobolski/SwiftyInvocation.svg?style=flat)](https://travis-ci.org/piotr-tobolski/SwiftyInvocation) -[![Version](https://img.shields.io/cocoapods/v/SwiftyInvocation.svg?style=flat)](http://cocoapods.org/pods/SwiftyInvocation) -[![License](https://img.shields.io/cocoapods/l/SwiftyInvocation.svg?style=flat)](http://cocoapods.org/pods/SwiftyInvocation) -[![Platform](https://img.shields.io/cocoapods/p/SwiftyInvocation.svg?style=flat)](http://cocoapods.org/pods/SwiftyInvocation) - +[![CocoaPods compatible](https://img.shields.io/cocoapods/v/SwiftyInvocation.svg)](https://cocoapods.org/pods/SwiftyInvocation) +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) +[![Twitter](https://img.shields.io/badge/twitter-@piotrtobolski-blue.svg?style=flat)](http://twitter.com/piotrtobolski) +[![Version](https://img.shields.io/cocoapods/v/SwiftyInvocation.svg?style=flat)](https://cocoapods.org/pods/SwiftyInvocation) +[![License](https://img.shields.io/cocoapods/l/SwiftyInvocation.svg?style=flat)](https://cocoapods.org/pods/SwiftyInvocation) +[![Platform](https://img.shields.io/cocoapods/p/SwiftyInvocation.svg?style=flat)](https://cocoapods.org/pods/SwiftyInvocation) Have you ever dreamed about using NSInvocation from Swift code? You hate Apple for the NS_SWIFT_UNAVAILABLE macro? @@ -50,6 +52,11 @@ it, simply add the following line to your Podfile: pod "SwiftyInvocation" ``` +It is also available through [Carthage](https://github.com/Carthage/Carthage): +```ruby +github "piotr-tobolski/SwiftyInvocation" ~> 0.1.0 +``` + ## Author Piotr Tobolski, piotr.tobolski@me.com