Commit Graph
10 Commits
Author SHA1 Message Date
George Barnett 36880de810 Update pod generation script
Motivation:

To workaround https://github.com/apple/swift-nio/issues/2073 we must
list all transitive dependencies when building podspecs.

Modifications:

- Copy over `list_transitive_dependencies.py` from the NIO repo.
- Include transitive dependencies in the build_podspec script
- Bump C++ language standard from 11 to 14
- Ignore non-modular header warnings
- Be more precise when specifying 'CNIOBoringSSL*' targets
- Use python3 in build-asm.py (The soundness script includes the
  shebang as part of the 'hash' when checking for license headers and
  only allows for one shebang per extension so we cannot use both Python
  2 and 3 in the same repo.)

Result:

Podspec generation script includes transitive dependencies.
2022-05-04 10:59:20 +01:00
Fabian Fett e018a45ee1 Drop support for Swift 5.2 and 5.3 (#353)
As outlined in a [Swift forums post in November ’21](https://forums.swift.org/t/swiftnio-swift-version-support/53232), SwiftNIO will only support the latest non-patch Swift release and the 2 immediately prior non-patch versions.

- drop support for Swift 5.2 and 5.3
- update CI for Swift 5.4 to run on bionic instead of focal to ensure that we still test bionic
2022-04-20 08:55:29 +02:00
George BarnettandCory Benfield 4829979d9f Bump Swift version in build_podspec.sh (#305)
Motivation:

SwiftNIO recently dropped support for Swift 5.0 and Swift 5.1 but our
build_podspec.sh script doesn't reflect this change. Additionally the
list_topsorted_dependencies.sh script always assumed named depenencies
when listing module depenencies. Since our tools version has now been
bumped to 5.2 that's no longer the case and the script produces a bunch
of nulls which throws the build_podspec.sh script off course.

Modifications:

- Bump the Swift version in build_podspec.sh to 5.2
- Include "product" dependencies when listing module dependencies in
  list_topsorted_dependencies.sh

Result:

Podspecs are created as expected

Co-authored-by: Cory Benfield <lukasa@apple.com>
2021-08-17 13:06:26 +01:00
Dalton Claybrook bbb38fbcbb Update podspec script to remove 'S' files from watchOS target (#277) 2021-02-24 07:42:20 +00:00
George Barnett 722c70f0fb Allow warnings when building Podspecs (#274)
Motivation:

When pushing Cocoapods a warning is emitted for SwiftNIOSSL
('SecTrustEvaluateAsync' was deprecated in watchOS 6.0). Pushing the
pods fails as a result.

Modifications:

Allow warnings when pushing pods.

Result:

Pods can be pushed with warnings.
2021-02-18 15:30:53 +00:00
George Barnett 4de53b6c84 Add watchOS deployment to PodSpec build script (#252)
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-21 15:28:05 +01:00
Daniel Alm 7932e709af Fix the -f option in build_podspec.sh. (#237)
* Fix the -f option in build_podspec.sh.

* Add docs.

* Another minor tweak.
2020-08-06 18:23:50 +01:00
George Barnett e14f8ebd6a Add synchronous option to trunk push in build_podspec.sh (#222)
See https://github.com/apple/swift-nio/pull/1551
2020-06-10 15:23:13 +01:00
George Barnett a44a343f69 Update build_podspec.sh to not use exact dependency versions (#221)
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-10 13:51:32 +01:00
3613382784 Add Build Podspec Script (#193)
Co-authored-by: Jake Prickett <jpricke1@ford.com>
Co-authored-by: Johannes Weiss <johannesweiss@apple.com>
2020-03-03 22:25:44 +00:00