-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Vertex AI] Prepare podspec for a CocoaPods release (#13585)
- Loading branch information
1 parent
7c6c555
commit 413dfef
Showing
7 changed files
with
105 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'FirebaseVertexAI' | ||
s.version = '11.2.0-beta' | ||
s.summary = 'Vertex AI in Firebase - Public Preview' | ||
|
||
s.description = <<-DESC | ||
[Public Preview] Build AI-powered apps and features with the Gemini API using | ||
the Vertex AI in Firebase SDK. | ||
DESC | ||
|
||
s.homepage = 'https://firebase.google.com' | ||
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' } | ||
s.authors = 'Google, Inc.' | ||
|
||
s.source = { | ||
:git => 'https://github.com/firebase/firebase-ios-sdk.git', | ||
:tag => 'CocoaPods-' + s.version.to_s | ||
} | ||
|
||
s.social_media_url = 'https://twitter.com/Firebase' | ||
|
||
ios_deployment_target = '15.0' | ||
osx_deployment_target = '11.0' | ||
tvos_deployment_target = '15.0' | ||
watchos_deployment_target = '8.0' | ||
|
||
s.ios.deployment_target = ios_deployment_target | ||
s.osx.deployment_target = osx_deployment_target | ||
s.tvos.deployment_target = tvos_deployment_target | ||
s.watchos.deployment_target = watchos_deployment_target | ||
|
||
s.cocoapods_version = '>= 1.12.0' | ||
s.prefix_header_file = false | ||
|
||
s.source_files = [ | ||
'FirebaseVertexAI/Sources/**/*.swift', | ||
] | ||
|
||
s.swift_version = '5.9' | ||
|
||
s.framework = 'Foundation' | ||
s.ios.framework = 'UIKit' | ||
s.osx.framework = 'AppKit' | ||
s.tvos.framework = 'UIKit' | ||
s.watchos.framework = 'WatchKit' | ||
|
||
s.dependency 'FirebaseAppCheckInterop', '~> 11.2' | ||
s.dependency 'FirebaseAuthInterop', '~> 11.2' | ||
s.dependency 'FirebaseCore', '~> 11.2' | ||
s.dependency 'FirebaseCoreExtension', '~> 11.2' | ||
|
||
s.test_spec 'unit' do |unit_tests| | ||
unit_tests_dir = 'FirebaseVertexAI/Tests/Unit/' | ||
unit_tests.scheme = { :code_coverage => true } | ||
unit_tests.platforms = { | ||
:ios => ios_deployment_target, | ||
:osx => osx_deployment_target, | ||
:tvos => tvos_deployment_target | ||
} | ||
unit_tests.source_files = [ | ||
unit_tests_dir + '**/*.swift', | ||
] | ||
unit_tests.resources = [ | ||
unit_tests_dir + 'vertexai-sdk-test-data/mock-responses/**/*.{txt,json}', | ||
] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters