Files
firebase-ios-sdk/Firestore/Example/Podfile
T
Gil 79627a22cc Add Swift integration tests to macOS and tvOS builds (#3336)
* Add deployment_targets for macOS and tvOS in FirebaseFirestoreSwift

* Add FirebaseFirestoreSwift as a dependency to all integration tests

* Add swift integration tests to sync_project.rb
2019-07-11 18:25:52 -07:00

134 lines
3.3 KiB
Ruby

require 'pathname'
# Uncomment the next two lines for pre-release testing on internal repo
#source 'sso://cpdc-internal/firebase'
#source 'https://cdn.cocoapods.org/'
source 'https://cdn.cocoapods.org/'
use_frameworks!
post_install do |installer|
sync = Pathname.new(__FILE__).dirname.join('../../scripts/sync_project.rb')
system(sync.to_s)
end
target 'Firestore_Example_iOS' do
platform :ios, '8.0'
# The next line is the forcing function for the Firebase pod. The Firebase
# version's subspecs should depend on the component versions in their
# corresponding podspec's.
pod 'Firebase/CoreOnly', '6.4.0'
pod 'FirebaseAuth', :path => '../../'
pod 'FirebaseAuthInterop', :path => '../../'
pod 'FirebaseCore', :path => '../../'
pod 'GoogleUtilities', :path => '../../'
pod 'FirebaseFirestore', :path => '../../'
target 'Firestore_Tests_iOS' do
inherit! :search_paths
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
target 'Firestore_Benchmarks_iOS' do
inherit! :search_paths
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
end
target 'Firestore_IntegrationTests_iOS' do
inherit! :search_paths
pod 'FirebaseFirestoreSwift', :path => '../../'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
target 'Firestore_SwiftTests_iOS' do
pod 'FirebaseFirestoreSwift', :path => '../../'
end
target 'Firestore_FuzzTests_iOS' do
inherit! :search_paths
platform :ios, '9.0'
pod 'LibFuzzer', :podspec => 'LibFuzzer.podspec', :inhibit_warnings => true
pod '!ProtoCompiler'
end
end
target 'Firestore_Example_macOS' do
platform :osx, '10.11'
pod 'FirebaseAuth', :path => '../../'
pod 'FirebaseAuthInterop', :path => '../../'
pod 'FirebaseCore', :path => '../../'
pod 'GoogleUtilities', :path => '../../'
pod 'FirebaseFirestore', :path => '../../'
target 'Firestore_Tests_macOS' do
inherit! :search_paths
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
target 'Firestore_IntegrationTests_macOS' do
inherit! :search_paths
pod 'FirebaseFirestoreSwift', :path => '../../'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
end
target 'Firestore_Example_tvOS' do
platform :tvos, '10.0'
pod 'FirebaseAuth', :path => '../../'
pod 'FirebaseAuthInterop', :path => '../../'
pod 'FirebaseCore', :path => '../../'
pod 'GoogleUtilities', :path => '../../'
pod 'FirebaseFirestore', :path => '../../'
target 'Firestore_Tests_tvOS' do
inherit! :search_paths
pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
target 'Firestore_IntegrationTests_tvOS' do
inherit! :search_paths
pod 'FirebaseFirestoreSwift', :path => '../../'
pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
pod 'OCMock'
pod 'leveldb-library'
end
end