Skip to content

Commit

Permalink
Merge pull request #7 from approov/feature/add-watchOS-support-podfile
Browse files Browse the repository at this point in the history
Add support for watchOS platform in podspec file
  • Loading branch information
jexh authored Feb 20, 2025
2 parents 1643ca5 + 063ab07 commit d1fe339
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
19 changes: 19 additions & 0 deletions approov-ios-sdk/3.3.0/approov-ios-sdk.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Pod::Spec.new do |s|
s.name = "approov-ios-sdk"
s.version = "3.3.0"
s.summary = "ApproovSDK iOS framework"
s.description = <<-DESC
Approov mobile attestation framework for iOS
DESC
s.homepage = "https://approov.io"
# brief license entry:
s.license = "https://approov.io/terms"
s.authors = { "CriticalBlue, Ltd." => "[email protected]" }
s.platform = :ios
s.source = { :git => "https://github.com/approov/approov-ios-sdk.git", :tag => "#{s.version}" }
s.requires_arc = true
s.pod_target_xcconfig = { 'VALID_ARCHS' => 'arm64 x86_64' }
s.ios.vendored_frameworks = "Approov.xcframework"
s.ios.deployment_target = '12.0'

end
24 changes: 24 additions & 0 deletions approov-ios-sdk/3.3.1/approov-ios-sdk.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Pod::Spec.new do |s|
s.name = "approov-ios-sdk"
s.version = "3.3.1"
s.summary = "ApproovSDK iOS/watchOS framework"
s.description = <<-DESC
Approov mobile attestation framework for iOS and watchOS
DESC
s.homepage = "https://approov.io"
# brief license entry:
s.license = "https://approov.io/terms"
s.authors = { "CriticalBlue, Ltd." => "[email protected]" }
s.source = { :git => "https://github.com/approov/approov-ios-sdk.git", :tag => "#{s.version}" }
s.requires_arc = true
s.pod_target_xcconfig = { 'VALID_ARCHS' => 'arm64 arm64_32 x86_64' }

# Define platform support
s.ios.deployment_target = '12.0'
s.watchos.deployment_target = '9.0'

# Specify vendored frameworks for both platforms
s.ios.vendored_frameworks = "Approov.xcframework"
s.watchos.vendored_frameworks = "Approov.xcframework"

end

0 comments on commit d1fe339

Please sign in to comment.