Files
firebase-ios-sdk/FirebaseMLModelDownloader.podspec
T
manjanac e15bb36a2f Add GoogleService-Info.plist for integration testing. (#7037)
* Restores ML Pods after M77.

* Fix Package.swift

* Add GoogleService-Info.plist to secrets for integration tests.

* Configure FirebaseApp in tests to read from GoogleService-Info.plist.

* Lint fix.

* Plist WIP

* Plist WIP

* Add GoogleService-Info.plist to secrets for (future) integration tests.

* Add GoogleService-Info.plist to secrets for (future) integration tests.

* Add GoogleService-Info.plist to secrets for (future) integration tests.

* Split tests into unit and integration, configure FirebaseApp.

* Move GoogleService-Info.plist to Integration/

* Split tests into unit and integration.

* Fix workflow step to copy plist over to project.
2020-11-30 17:55:22 -08:00

56 lines
1.8 KiB
Ruby

Pod::Spec.new do |s|
s.name = 'FirebaseMLModelDownloader'
s.version = '7.0.0'
s.summary = 'Firebase ML Model Downloader'
s.description = <<-DESC
This is the new ML Model Downloader CocoaPod.
DESC
s.homepage = 'https://firebase.google.com'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.authors = 'Google, Inc.'
s.source = {
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
:tag => 'MLModelDownloader-' + s.version.to_s
}
s.social_media_url = 'https://twitter.com/Firebase'
s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '6.0'
s.cocoapods_version = '>= 1.4.0'
s.static_framework = true
s.prefix_header_file = false
s.source_files = [
'FirebaseMLModelDownloader/Sources/**/*.swift',
]
s.framework = 'Foundation'
s.dependency 'FirebaseCore', '~> 7.0'
s.dependency 'FirebaseInstallations', '~> 7.0'
s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRMLModelDownloader_VERSION=' + s.version.to_s,
'OTHER_CFLAGS' => '-fno-autolink',
}
s.test_spec 'unit' do |unit_tests|
unit_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
unit_tests.source_files = 'FirebaseMLModelDownloader/Tests/Unit/**/*.swift'
unit_tests.requires_app_host = true
end
s.test_spec 'integration' do |int_tests|
int_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
int_tests.source_files = 'FirebaseMLModelDownloader/Tests/Integration/**/*.swift'
int_tests.resources = 'FirebaseMLModelDownloader/Tests/Integration/Resources/GoogleService-Info.plist'
int_tests.requires_app_host = true
end
end