Commit Graph
5 Commits
Author SHA1 Message Date
George Barnett 18c17b9ae0 Add watchOS deployment to PodSpec build script (#107)
Motivation:

We support watchOS 6+ with SwiftNIO Transport Services; as such we should
include watchOS as a deployment target for our CocoaPods.

Modifications:

- Add a watchOS deployment target to `build_podspecs.sh`

Result:

Users can deploy to watchOS 6+ with CocoaPods.
2020-10-19 10:11:40 +01:00
George Barnett 7eeb0ca94c Update build_podspec.sh to not use exact dependency versions (#93)
Motivation:

The build_podspec.sh script generates a podspec which requires exact
versions of its dependencies. This very quickly turns into unresolvable
dependency graphs.

Modifications:

NIO version passed to script must be in the format MAJOR.MINOR
Podspec dependencies are now '>= MAJOR.MINOR', '< MAJOR+1'

Result:

Looser version requirements for podspecs
2020-06-17 13:07:45 +01:00
George Barnett 3d0713dc43 Annotate code with availability attributes (#42)
* Annotate code with availability attributes

Motivation:

It was not possible to import NIOTS into a project where
Network.framework was not supported by all deployment targets.

Modifications:

All NIOTS code, where applicable, was annotated with availability
attributes.

Result:

It is possible for application developers to import NIOTS on platforms
which do not support Network.framework without a compile time error.
2019-05-10 19:02:02 +01:00
Johannes Weiss ca80d4047f update podspecs to NIO 2 (#33)
Motvation:

let's generate up to date podspecs

Modification:

update podspec

Result:

better podspec
2019-03-26 14:40:52 +00:00
Cory Benfield 94ef6a151c Add Cocoapods podspec generation. (#3)
Motivation:

A number of users have asked for the ability to install
NIOTransportServices via Cocoapods. This is an entirely reasonable
request, so let's do it.

Modifications:

Added a script that can generate, and optionally upload, a specfile
for NIOTransportServices.

Result:

Users can use cocoapods if they prefer.
2018-08-16 16:37:46 +01:00