Skip to content

Commit 3e644af

Browse files
committed
Add FirebaseAILogic.podspec
1 parent e8b141a commit 3e644af

File tree

2 files changed

+72
-24
lines changed

2 files changed

+72
-24
lines changed

FirebaseAI.podspec

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Build AI-powered apps and features with the Gemini API using the Firebase AI SDK
3232
s.prefix_header_file = false
3333

3434
s.source_files = [
35-
'FirebaseAI/Sources/**/*.swift',
35+
'FirebaseAI/Wrapper/**/*.swift',
3636
]
3737

3838
s.swift_version = '5.9'
@@ -43,28 +43,6 @@ Build AI-powered apps and features with the Gemini API using the Firebase AI SDK
4343
s.tvos.framework = 'UIKit'
4444
s.watchos.framework = 'WatchKit'
4545

46-
s.dependency 'FirebaseAppCheckInterop', '~> 12.3.0'
47-
s.dependency 'FirebaseAuthInterop', '~> 12.3.0'
46+
s.dependency 'FirebaseAILogic', '12.3.0'
4847
s.dependency 'FirebaseCore', '~> 12.3.0'
49-
s.dependency 'FirebaseCoreExtension', '~> 12.3.0'
50-
51-
s.test_spec 'unit' do |unit_tests|
52-
unit_tests_dir = 'FirebaseAI/Tests/Unit/'
53-
unit_tests.scheme = { :code_coverage => true }
54-
unit_tests.platforms = {
55-
:ios => ios_deployment_target,
56-
:osx => osx_deployment_target,
57-
:tvos => tvos_deployment_target
58-
}
59-
unit_tests.source_files = [
60-
unit_tests_dir + '**/*.swift',
61-
]
62-
unit_tests.exclude_files = [
63-
unit_tests_dir + 'Snippets/**/*.swift',
64-
]
65-
unit_tests.resources = [
66-
unit_tests_dir + 'vertexai-sdk-test-data/mock-responses',
67-
unit_tests_dir + 'Resources/**/*',
68-
]
69-
end
7048
end

FirebaseAILogic.podspec

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'FirebaseAILogic'
3+
s.version = '12.3.0'
4+
s.summary = 'Firebase AI Logic SDK'
5+
6+
s.description = <<-DESC
7+
Build AI-powered apps and features with the Gemini API using the Firebase AI Logic SDK.
8+
DESC
9+
10+
s.homepage = 'https://firebase.google.com'
11+
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
12+
s.authors = 'Google, Inc.'
13+
14+
s.source = {
15+
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
16+
:tag => 'CocoaPods-' + s.version.to_s
17+
}
18+
19+
s.social_media_url = 'https://twitter.com/Firebase'
20+
21+
ios_deployment_target = '15.0'
22+
osx_deployment_target = '12.0'
23+
tvos_deployment_target = '15.0'
24+
watchos_deployment_target = '8.0'
25+
26+
s.ios.deployment_target = ios_deployment_target
27+
s.osx.deployment_target = osx_deployment_target
28+
s.tvos.deployment_target = tvos_deployment_target
29+
s.watchos.deployment_target = watchos_deployment_target
30+
31+
s.cocoapods_version = '>= 1.12.0'
32+
s.prefix_header_file = false
33+
34+
s.source_files = [
35+
'FirebaseAI/Sources/**/*.swift',
36+
]
37+
38+
s.swift_version = '5.9'
39+
40+
s.framework = 'Foundation'
41+
s.ios.framework = 'UIKit'
42+
s.osx.framework = 'AppKit'
43+
s.tvos.framework = 'UIKit'
44+
s.watchos.framework = 'WatchKit'
45+
46+
s.dependency 'FirebaseAppCheckInterop', '~> 12.3.0'
47+
s.dependency 'FirebaseAuthInterop', '~> 12.3.0'
48+
s.dependency 'FirebaseCore', '~> 12.3.0'
49+
s.dependency 'FirebaseCoreExtension', '~> 12.3.0'
50+
51+
s.test_spec 'unit' do |unit_tests|
52+
unit_tests_dir = 'FirebaseAI/Tests/Unit/'
53+
unit_tests.scheme = { :code_coverage => true }
54+
unit_tests.platforms = {
55+
:ios => ios_deployment_target,
56+
:osx => osx_deployment_target,
57+
:tvos => tvos_deployment_target
58+
}
59+
unit_tests.source_files = [
60+
unit_tests_dir + '**/*.swift',
61+
]
62+
unit_tests.exclude_files = [
63+
unit_tests_dir + 'Snippets/**/*.swift',
64+
]
65+
unit_tests.resources = [
66+
unit_tests_dir + 'vertexai-sdk-test-data/mock-responses',
67+
unit_tests_dir + 'Resources/**/*',
68+
]
69+
end
70+
end

0 commit comments

Comments
 (0)