Skip to content

Commit

Permalink
Add pod specs for AmazonChimeSDKMachineLearning (aws#467)
Browse files Browse the repository at this point in the history
Summary:
Add `AmazonChimeSDKMachineLearning*.podspec` files for bitcode and
non-bitcode versions. Dependencies are subsequently added to
`AmazonChimeSDK`. Although developers don't necessarily need the
library, this makes sure that if they want to use the features, the
transitive dependency is also imported.

Test Plan:
Verify that `AmazonChimeSDKDemoPods` works through localhost and a
private podspec repository.

Co-authored-by: Richard Huang <[email protected]>

Co-authored-by: Richard Huang <[email protected]>
  • Loading branch information
richhx and Richard Huang authored May 13, 2022
1 parent 6b1ef98 commit 95f1cde
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions AmazonChimeSDKDemo/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ target 'AmazonChimeSDKDemoPods' do
use_frameworks!
# Pods for AmazonChimeSDKDemoPods
pod 'AmazonChimeSDK-Bitcode', 'AMAZON_CHIME_SDK_VERSION'
pod 'AmazonChimeSDKMachineLearning-Bitcode', 'AMAZON_CHIME_SDK_MACHINE_LEARNING_VERSION'
end

target 'AmazonChimeSDKDemoBroadcastPods' do
Expand Down
13 changes: 13 additions & 0 deletions AmazonChimeSDKMachineLearning-Bitcode.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pod::Spec.new do |s|
s.name = 'AmazonChimeSDKMachineLearning-Bitcode'
s.version = '0.1.0'
s.summary = 'Amazon Chime SDK Machine Learning features in iOS for Background Blur and Replacement with Bitcode support.'
s.description = 'An iOS client library for integrating multi-party communications powered by the Amazon Chime service.'
s.homepage = 'https://github.com/aws/amazon-chime-sdk-ios'
s.license = 'Apache License, Version 2.0'
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :http => "https://amazon-chime-sdk-ios.s3.amazonaws.com/machine-learning/0.1.0/AmazonChimeSDKMachineLearning-0.1.0.tar.gz" }
s.ios.deployment_target = '10.0'
s.vendored_frameworks = "AmazonChimeSDKMachineLearning.xcframework"
s.swift_version = '5.0'
end
13 changes: 13 additions & 0 deletions AmazonChimeSDKMachineLearning-No-Bitcode.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pod::Spec.new do |s|
s.name = 'AmazonChimeSDKMachineLearning-No-Bitcode'
s.version = '0.1.0'
s.summary = 'Amazon Chime SDK Machine Learning features in iOS for Background Blur and Replacement without Bitcode support.'
s.description = 'An iOS client library for integrating multi-party communications powered by the Amazon Chime service.'
s.homepage = 'https://github.com/aws/amazon-chime-sdk-ios'
s.license = 'Apache License, Version 2.0'
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :http => "https://amazon-chime-sdk-ios.s3.amazonaws.com/machine-learning-without-bitcode/0.1.0/AmazonChimeSDKMachineLearning-0.1.0.tar.gz" }
s.ios.deployment_target = '10.0'
s.vendored_frameworks = "AmazonChimeSDKMachineLearning.xcframework"
s.swift_version = '5.0'
end

0 comments on commit 95f1cde

Please sign in to comment.