diff --git a/.github/workflows/release_validation.yml b/.github/workflows/release_validation.yml new file mode 100644 index 0000000000..a31ba518a4 --- /dev/null +++ b/.github/workflows/release_validation.yml @@ -0,0 +1,21 @@ +name: release_validation + +on: + push: + branches: + - main + pull_request: + +jobs: + cocoapods_lib_lint: + name: cocoapods_lib_lint + runs-on: macos-11 + timeout-minutes: 20 + steps: + - uses: actions/checkout@v1 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7 + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - name: 'Lint CocoaPods podspec' + run: bundle exec pod spec lint diff --git a/EnvoyMobile.podspec b/EnvoyMobile.podspec index 2a1750655c..813face32f 100644 --- a/EnvoyMobile.podspec +++ b/EnvoyMobile.podspec @@ -1,17 +1,18 @@ Pod::Spec.new do |s| s.name = 'EnvoyMobile' - s.version = '0.4.5' + s.version = `cat VERSION`.chomp s.author = 'Envoy Mobile Project Authors' - s.summary = 'Multiplatform client HTTP/networking library built on the Envoy project's core networking layer' + s.summary = "Multiplatform client HTTP/networking library built on the Envoy project's core networking layer" s.homepage = 'https://envoy-mobile.github.io' s.documentation_url = 'https://envoy-mobile.github.io/docs/envoy-mobile/latest/index.html' s.social_media_url = 'https://twitter.com/EnvoyProxy' s.license = { type: 'Apache-2.0', file: 'LICENSE' } s.platform = :ios, '12.0' - s.swift_versions = ['5.5'] + s.swift_versions = ['5.5', '5.6'] s.libraries = 'resolv.9', 'c++' s.frameworks = 'Network', 'SystemConfiguration', 'UIKit' s.source = { http: "https://github.com/envoyproxy/envoy-mobile/releases/download/v#{s.version}/envoy_ios_cocoapods.zip" } s.vendored_frameworks = 'Envoy.framework' s.source_files = 'Envoy.framework/Headers/*.h', 'Envoy.framework/Swift/*.swift' + s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' } end diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000000..d1bf7c6fbe --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem "cocoapods" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000000..bea3c34b7d --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,98 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.5) + rexml + activesupport (6.1.5) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + zeitwerk (~> 2.3) + addressable (2.8.0) + public_suffix (>= 2.0.2, < 5.0) + algoliasearch (1.27.5) + httpclient (~> 2.8, >= 2.8.3) + json (>= 1.5.1) + atomos (0.1.3) + claide (1.1.0) + cocoapods (1.11.3) + addressable (~> 2.8) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.11.3) + cocoapods-deintegrate (>= 1.0.3, < 2.0) + cocoapods-downloader (>= 1.4.0, < 2.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.4.0, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (>= 2.3.0, < 3.0) + gh_inspector (~> 1.0) + molinillo (~> 0.8.0) + nap (~> 1.0) + ruby-macho (>= 1.0, < 3.0) + xcodeproj (>= 1.21.0, < 2.0) + cocoapods-core (1.11.3) + activesupport (>= 5.0, < 7) + addressable (~> 2.8) + algoliasearch (~> 1.0) + concurrent-ruby (~> 1.1) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + netrc (~> 0.11) + public_suffix (~> 4.0) + typhoeus (~> 1.0) + cocoapods-deintegrate (1.0.5) + cocoapods-downloader (1.6.3) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.1) + cocoapods-trunk (1.6.0) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.2.0) + colored2 (3.1.2) + concurrent-ruby (1.1.10) + escape (0.0.4) + ethon (0.15.0) + ffi (>= 1.15.0) + ffi (1.15.5) + fourflusher (2.3.1) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + httpclient (2.8.3) + i18n (1.10.0) + concurrent-ruby (~> 1.0) + json (2.6.1) + minitest (5.15.0) + molinillo (0.8.0) + nanaimo (0.3.0) + nap (1.1.0) + netrc (0.11.0) + public_suffix (4.0.7) + rexml (3.2.5) + ruby-macho (2.5.1) + typhoeus (1.4.0) + ethon (>= 0.9.0) + tzinfo (2.0.4) + concurrent-ruby (~> 1.0) + xcodeproj (1.21.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.3.0) + rexml (~> 3.2.4) + zeitwerk (2.5.4) + +PLATFORMS + arm64-darwin-21 + x86_64-darwin-19 + +DEPENDENCIES + cocoapods + +BUNDLED WITH + 2.3.8