Files
firebase-ios-sdk/Example/Podfile
T
Ryan Wilson bbcac27b72 Release 6.10.0 (#4022)
* Update versions for Release 6.10.0

* Cherrypick #3983 and include Database in release. (#3986)

* Remove log argument that causes SocketRocket crash (#3983)

* Add FirebaseDatabase to release.

* Update CHANGELOG with version.

* Cherrypick for #3984 along with CHANGELOG update. (#3988)

* Fix race condition in FIRComponentContainer instance creation (#3984)

* Fix race condition in FIRComponentContainer instance creation

Reported in #3967. Users sometimes seeing a crash when multiple threads
concurrently try to create Firestore instances. By inspection I found
that there's a race here where two threads can check for presence in the
cache, see nothing, proceed to creation, both store a value in the cache,
and both return their copies. This would lead to two Firestores being
created for a single App.

This replaces `dispatch_sync` on a serial queue with good old
`@synchronized` blocks. `dispatch_sync` will self-deadlock if called
from a thread already on the queue while `@synchronized` allows
recursion.

No new tests are added because several tests like
`testDependencyDoesntBlock` already cover this case.

* format

* Update Core CHANGELOG

* Update Core CHANGELOG again

* Fix merge from CHANGELOG
2019-10-09 12:10:33 -04:00

151 lines
3.2 KiB
Ruby

# 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!
pod 'FirebaseAnalyticsInterop', :path => '../'
pod 'FirebaseAuthInterop', :path => '../'
pod 'FirebaseCore', :path => '../'
pod 'FirebaseCoreDiagnostics', :path => '../'
pod 'FirebaseCoreDiagnosticsInterop', :path => '../'
pod 'GoogleDataTransport', :path => '../'
pod 'GoogleDataTransportCCTSupport', :path => '../'
pod 'GoogleUtilities', :path => '../'
target 'Core_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 the
# corresponding podspec's in this repo.
pod 'Firebase/CoreOnly', '6.10.0'
target 'Core_Tests_iOS' do
inherit! :search_paths
pod 'OCMock'
end
end
target 'Auth_Example_iOS' do
platform :ios, '8.0'
pod 'FirebaseAuth', :path => '../'
target 'Auth_Tests_iOS' do
inherit! :search_paths
pod 'OCMock'
end
end
target 'Database_Example_iOS' do
platform :ios, '8.0'
pod 'FirebaseDatabase', :path => '../'
target 'Database_Tests_iOS' do
inherit! :search_paths
end
target 'Database_IntegrationTests_iOS' do
inherit! :search_paths
end
end
target 'DynamicLinks_Example_iOS' do
platform :ios, '8.0'
pod 'FirebaseDynamicLinks', :path => '../'
pod 'GoogleUtilities/MethodSwizzler', :path => '../'
pod 'GoogleUtilities/SwizzlerTestHelpers', :path => '../'
target 'DynamicLinks_Tests_iOS' do
inherit! :search_paths
pod 'OCMock'
end
end
target 'FDLBuilderTestAppObjC' do
platform :ios, '8.0'
pod 'FirebaseDynamicLinks', :path => '../'
target 'FDLBuilderTestAppObjCEarlGrey' do
inherit! :search_paths
pod 'EarlGrey'
end
end
target 'InstanceID_Example_iOS' do
platform :ios, '8.0'
pod 'FirebaseInstanceID' , :path => '../'
target 'InstanceID_Tests_iOS' do
inherit! :search_paths
pod 'OCMock'
end
end
target 'Messaging_Example_iOS' do
platform :ios, '8.0'
pod 'FirebaseMessaging' , :path => '../'
target 'Messaging_Tests_iOS' do
inherit! :search_paths
pod 'OCMock'
end
end
target 'Messaging_NotificationService_iOS' do
platform :ios, '8.0'
pod 'FirebaseMessaging' , :path => '../'
end
target 'Messaging_Sample_iOS' do
platform :ios, '8.0'
pod 'FirebaseMessaging' , :path => '../'
end
target 'Storage_Example_iOS' do
platform :ios, '8.0'
pod 'FirebaseStorage', :path => '../'
target 'Storage_Tests_iOS' do
inherit! :search_paths
pod 'OCMock'
end
target 'Storage_IntegrationTests_iOS' do
inherit! :search_paths
end
end
target 'Auth_Sample' do
platform :ios, '8.0'
pod 'FirebaseAuth', :path => '../'
pod 'FirebaseCore', :path => '../'
pod 'FirebaseCoreDiagnostics', :path => '../'
pod 'FirebaseCoreDiagnosticsInterop', :path => '../'
pod 'FBSDKLoginKit'
pod 'GoogleSignIn', '~> 5'
pod 'FirebaseInstanceID', :path => '../'
pod 'GoogleDataTransport', :path => '../'
pod 'GoogleDataTransportCCTSupport', :path => '../'
pod 'GTMSessionFetcher/Core'
target 'Auth_ApiTests' do
inherit! :search_paths
end
target 'Auth_E2eTests' do
inherit! :search_paths
pod 'EarlGrey'
end
end