Skip to content

Commit

Permalink
commit podspec and podfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanmakeen committed Jul 3, 2024
1 parent 782e878 commit 7daccc2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
21 changes: 8 additions & 13 deletions AmazonLocationiOSAuthSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,31 +1,26 @@
Pod::Spec.new do |s|
s.name = 'AmazonLocationiOSAuthSDK'
s.platform = :ios, "13.0"
s.name = "AmazonLocationiOSAuthSDK"
s.version = '0.2.2'
s.summary = 'These utilities help you authenticate when when making Amazon Location Service API calls from their iOS applications. This specifically helps when using Amazon Cognito or API keys as the authentication method.'
s.summary = 'These utilities help you authenticate when when making Amazon Location Service API calls.'
s.description = <<-DESC
A more detailed description of MyPackage.
These utilities help you authenticate when when making Amazon Location Service API calls from their iOS applications. This specifically helps when using Amazon Cognito or API keys as the authentication method.
DESC
s.homepage = 'https://github.com/aws-geospatial/amazon-location-mobile-auth-sdk-ios'
s.license = { :type => 'Apache License, Version 2.0', :text => 'https://www.apache.org/licenses/LICENSE-2.0' }
s.author = { 'Oleg Filimonov' => '[email protected]' }
s.source = { :git => 'https://github.com/aws-geospatial/amazon-location-mobile-auth-sdk-ios/.git', :tag => 0.2.2 }
s.source = { :git => 'https://github.com/awslabs/aws-sdk-swift.git', :branch => 'ALMS-204_CocoaPods_Support' }

s.ios.deployment_target = '13.0'

s.source_files = 'Sources/**/*.{swift,h,m}'
s.public_header_files = 'Sources/**/*.h'
s.frameworks = 'Foundation'
s.requires_arc = true

# Dependencies
s.dependency 'KeychainSwift', '~> 20.0.0'
s.dependency 'AWSLocation', :git => 'https://github.com/awslabs/aws-sdk-swift', :branch => '0.46.0'
s.dependency 'AWSCognitoIdentity', :git => 'https://github.com/awslabs/aws-sdk-swift', :branch => '0.46.0'
s.dependency 'AWSClientRuntime', :git => 'https://github.com/awslabs/aws-sdk-swift', :branch => '0.46.0'
s.spm_dependency "aws-sdk-swift/AWSLocation"
s.spm_dependency "aws-sdk-swift/AWSCognitoIdentity"
s.spm_dependency "aws-sdk-swift/AWSClientRuntime"

# Test target resources
s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'Tests/**/*.{swift,h,m}'
test_spec.resources = ['Tests/Resources/TestConfig.plist']
end
end
10 changes: 10 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
platform :ios, "13.0"

plugin "cocoapods-spm"

target 'AmazonLocationiOSAuthSDK' do

spm_pkg "aws-sdk-swift", :git => "https://github.com/awslabs/aws-sdk-swift.git", :tag => "0.46.0",
:products => ["AWSLocation", "AWSCognitoIdentity", "AWSClientRuntime"]

end

0 comments on commit 7daccc2

Please sign in to comment.