Skip to content

Commit

Permalink
Add Podspec file
Browse files Browse the repository at this point in the history
  • Loading branch information
ivo.liondov authored and ivo.liondov committed Oct 5, 2024
1 parent a25c45e commit 47cdd17
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
31 changes: 31 additions & 0 deletions ApproovURLSession.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Pod::Spec.new do |s|
s.name = "ApproovURLSession"
s.version = "3.2.7"
s.summary = "Approov mobile attestation SDK"
s.description = <<-DESC
Approov SDK integrates security attestation and secure string fetching for both iOS and watchOS apps.
DESC
s.homepage = "https://approov.io"
s.license = { type: "Commercial", file: "LICENSE" }
s.authors = { "CriticalBlue, Ltd." => "[email protected]" }
s.source = { git: "https://github.com/approov/approov-ios-sdk.git", tag: s.version }

# Supported platforms
s.ios.deployment_target = '11.0'
s.watchos.deployment_target = '7.0'

# Specify the source code paths for the combined target
s.source_files = "Sources/ApproovURLSession/**/*.{swift,h}"

# Vendored frameworks for both iOS and watchOS
#s.vendored_frameworks = 'https://github.com/approov/approov-ios-sdk/releases/download/3.2.4/Approov.xcframework.zip'

# Approov dependency - pulling the binary from GitHub release
s.dependency "Approov", "~> 3.2.4" # Specify the version here if a podspec exists

# Pod target xcconfig settings if required
s.pod_target_xcconfig = {
'VALID_ARCHS' => 'arm64 x86_64 arm64_32 x86_64' # Combine valid architectures
}
end

32 changes: 32 additions & 0 deletions Podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Pod::Spec.new do |s|
s.name = "ApproovURLSession"
s.version = "3.2.7"
s.summary = "Approov mobile attestation SDK"
s.description = <<-DESC
Approov SDK integrates security attestation and secure string fetching for both iOS and watchOS apps.
DESC
s.homepage = "https://approov.io"
s.license = { :type => "Commercial", :file => "LICENSE" }
s.authors = { "CriticalBlue, Ltd." => "[email protected]" }
s.source = { :git => "https://github.com/approov/approov-ios-sdk.git", :tag => s.version }

# Supported platforms
s.ios.deployment_target = '11.0'
s.watchos.deployment_target = '7.0'

# Specify the source code paths for the combined target
s.source_files = "Sources/ApproovURLSession/**/*.{swift,h}"

# Approov dependency - pulling the binary from GitHub release
s.dependency "Approov"

s.watchos.vendored_frameworks = 'https://github.com/approov/approov-ios-sdk/releases/download/3.2.4/Approov.xcframework.zip'
s.ios.vendored_frameworks = 'https://github.com/approov/approov-ios-sdk/releases/download/3.2.4/Approov.xcframework.zip'

# Pod target xcconfig settings if required
s.pod_target_xcconfig = {
'VALID_ARCHS' => 'arm64 x86_64', # Valid architectures for iOS
'VALID_ARCHS' => 'arm64_32 x86_64' # Valid architectures for watchOS
}
end

0 comments on commit 47cdd17

Please sign in to comment.