Closed DahanSimon closed 11 months ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
More examples: https://github.com/firebase/flutterfire/issues/11216
@hermuxo Thanks for your comment but the app one this link https://github.com/firebase/flutterfire/issues/11216 is developed using flutter so the version numbers are not corresponding to the iOS SDK I fixed it by switching from cocoapods to Swift Package Manager
@DahanSimon totally just wanted to confirm it's not just you 👍
Another issue:
https://github.com/firebase/firebase-ios-sdk/issues/11509
Thanks for reporting, @DahanSimon. First off, could you provide the full stack trace of your issue to investigate?
@rizafran The stack trace :
Crashed: com.google.firebase.firestore
0 grpcpp 0x5358 grpc_core::ExecCtx::ExecCtx() + 112
1 grpcpp 0x2b5e8 grpc::SecureChannelCredentials::~SecureChannelCredentials() + 28
2 grpcpp 0x2b72c std::1::shared_ptr_pointer<grpc::SecureChannelCredentials, std::1::shared_ptr
Closing as a duplicate of #11509. Let's keep the discussion centralized there.
Description
App crashes almost at launch on device running on iOS 12.5.7 with production build but everything is fine with preprod build.
Reproducing the issue
No response
Firebase SDK Version
10.12.0
Xcode Version
14.3.1
Installation Method
CocoaPods
Firebase Product(s)
Analytics, App Check, App Distribution, Authentication, Crashlytics, Database, Firestore, Installations, Storage
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippet```json Replace this line with the contents of your Package.resolved. ```
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippet```yml platform :ios, '12.0' # ignore all warnings from all pods inhibit_all_warnings! # select default xcodeproj project 'XXX/XXX.xcodeproj' # ――― Sources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # source 'https://github.com/CocoaPods/Specs.git' # ――― Setup ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # post_install do |installer_representation| installer_representation.pods_project.targets.each do |target| target.build_configurations.each do |config| if config.name != 'Release' config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'DEBUG=1', 'PREPROD=1'] config.build_settings['OTHER_SWIFT_FLAGS'] = ['$(inherited)', '-DDEBUG', '-DPREPROD'] end config.build_settings.delete('CODE_SIGNING_ALLOWED') config.build_settings.delete('CODE_SIGNING_REQUIRED') end # if target.name == 'MessageKit' # target.build_configurations.each do |config| # config.build_settings['SWIFT_VERSION'] = '4.0' # end # end end end # ――― Install ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # def shared_pods use_frameworks! workspace 'leshabitues-shop' # Network pod 'AFNetworking' pod 'Alamofire' pod 'AlamofireImage' pod 'AlamofireNetworkActivityIndicator' pod 'DatadogSDKAlamofireExtension' pod 'SwiftyJSON' pod 'SDWebImage' # Facebook pod 'FacebookCore' pod 'FacebookLogin' pod 'FacebookShare' # Chat pod 'MessageKit' pod 'InputBarAccessoryView' pod 'Firebase' pod 'Firebase/Auth' pod 'Firebase/Storage' pod 'FirebaseUI/Firestore' pod 'FirebaseUI/Database' # Logs pod 'Firebase/Crashlytics' pod 'Firebase/Analytics' # Database pod 'Realm' pod 'RealmSwift' # Components pod 'FSCalendar', '= 2.7.9' # Stats pod 'Charts', '= 4.1.0' # Utilities pod 'Extra/UIKit' pod 'IQKeyboardManagerSwift' pod 'JEKScrollableSectionCollectionViewLayout' pod 'PhoneNumberKit' pod 'Reusable/View' pod 'SwiftGen' pod 'SwiftLint' pod 'SwiftMessages' pod 'SwifterSwift' pod 'lottie-ios' pod 'youtube-ios-player-helper' pod 'Instructions' pod 'AssetChecker', :git => 'https://github.com/freshOS/AssetChecker.git' end def testing_pods pod 'KIF' pod 'Quick' pod 'Nimble' end target 'XXX' do platform :ios, '12.0' shared_pods end target 'XXX-Preprod' do platform :ios, '12.0' shared_pods end target 'XXXTests' do platform :ios, '12.0' shared_pods testing_pods end ```