Skip to content

Commit

Permalink
Merge pull request #563 from motocodeltd/make_watchos_code_public
Browse files Browse the repository at this point in the history
Make WatchOS SKError.code public
  • Loading branch information
Sam-Spencer authored Aug 15, 2020
2 parents dfe5002 + 6aca8f0 commit ee7b4e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
[![Build](https://img.shields.io/travis/bizz84/SwiftyStoreKit.svg?style=flat)](https://travis-ci.org/bizz84/SwiftyStoreKit)
[![Issues](https://img.shields.io/github/issues/bizz84/SwiftyStoreKit.svg?style=flat)](https://github.com/bizz84/SwiftyStoreKit/issues)
[![Slack](https://img.shields.io/badge/Slack-Join-green.svg?style=flat)](https://join.slack.com/t/swiftystorekit/shared_invite/enQtODY3OTYxOTExMzE5LWVkNGY4MzcwY2VjNGM4MGU4NDFhMGE5YmUxMGM3ZTQ4NjVjNTRkNTJhNDAyMWZmY2M5OWE5MDE0ODc3OGJjMmM)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Swift Package Manager compatible](https://img.shields.io/badge/SPM-compatible-orange.svg?style=flat)](https://swift.org/package-manager/)

SwiftyStoreKit is a lightweight In App Purchases framework for iOS, tvOS, watchOS, macOS, and Mac Catalyst.

Expand Down Expand Up @@ -106,10 +104,6 @@ github "bizz84/SwiftyStoreKit"
**NOTE**: Please ensure that you have the [latest](https://github.com/Carthage/Carthage/releases) Carthage installed.

### CocoaPods
**:rotating_light: NOT RECOMMENDED**. Current project maintainers do *not* have push access to the CocoaPod trunk and we are waiting for confirmation from the original repo author / owner. **The CocoaPod pod is already 2 releases behind the current version.**

**:warning: There is no guarantee of future updates via CocoaPods. Installing with CocoaPods is done at your own risk. :warning:**

SwiftyStoreKit can be installed as a [CocoaPod](https://cocoapods.org/) and builds as a Swift framework. To install, include this in your Podfile.

```ruby
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftyStoreKit/OS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public struct SKError: Error {
self._nsError = _nsError
}

var code: Code {
public var code: Code {
return Code(rawValue: _nsError.code) ?? .unknown
}

Expand Down
7 changes: 2 additions & 5 deletions SwiftyStoreKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SwiftyStoreKit'
s.version = '0.16.0'
s.version = '0.16.1'
s.summary = 'Lightweight In App Purchases Swift framework for iOS, tvOS, watchOS, macOS and Mac Catalyst.'
s.license = 'MIT'
s.homepage = 'https://github.com/bizz84/SwiftyStoreKit'
Expand All @@ -11,10 +11,7 @@ Pod::Spec.new do |s|
s.watchos.deployment_target = '6.2'
s.swift_version = '5.0'
s.source = { :git => "https://github.com/bizz84/SwiftyStoreKit.git", :tag => s.version }

s.source_files = 'SwiftyStoreKit/*.{swift}'

s.source_files = 'Sources/SwiftyStoreKit/*.{swift}'
s.screenshots = ["https://github.com/bizz84/SwiftyStoreKit/raw/master/Screenshots/Preview.jpg"]

s.requires_arc = true
end

0 comments on commit ee7b4e4

Please sign in to comment.