React-Native-Firebase Crashlytics not tracking, events working IOS - react-native

Using react-native-firebase version 5.5.5 in my react-native version 0.59.9 project.
Recently the IOS crashlytics have stopped tracking, and the latest version is not in the crashlytics selection screen, however the events are still being tracked on ios and the Android version is still having it's crashlytics populating.
I've tried updating the react-native-firebase package to version 7+ with no effect, I've also followed the v6 migration documentation and still cannot get crashlytics to populate the newest version of the ios app. I've tried both local testing on a real device as well as testflight release. I'm able to use the package to force crashes and within the log I see it says it sent the report to crashlytics, I can also see the crash being reported in the firebase stream view, but never populates to crashlytics. I've downloaded the dsym files from the appstore and uploaded them via command line, however there are no warnings about missing dsym files for the newest versions.
This is what my podfile looks like
pod 'Stripe', '~> 14.0.0'
pod 'Firebase/Core', '~> 6.3.0'
pod 'Firebase/RemoteConfig', '~> 6.3.0'
pod 'Fabric', '~> 1.10.2'
pod 'Crashlytics', '~> 3.13.2'
pod 'GoogleIDFASupport', '~> 3.14.0'
pod 'Google-Mobile-Ads-SDK', '~> 7.26.0'
pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'
pod 'tipsi-stripe', :path => '../node_modules/tipsi-stripe'
pod 'React', :path => '../node_modules/react-native'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga/Yoga.podspec'
I also still have the run script command "${PODS_ROOT}/Fabric/run"
I have enabled crashlytics collection at the root of the app with firebase.crashlytics().enableCrashlyticsCollection();
Gone through a lot of the solutions suggested on react-native-firebase issues threads but none seem to help.

Related

Showing error on install Firebase/Messaging pod in xcode 11.3?

enter image description here
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'
I am trying to install firebase/Messaging, with FirebaseAnalytics but it gives error shown in below. please suggest the solution.
!] Unable to find a specification for FirebaseAnalyticsInterop (~> 1.5) depended upon by FirebaseMessaging
You have either:
* out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
I have been able to install the dependencies with below pod file without any issues.
use_frameworks!
platform :ios, '9.0'
install! 'cocoapods'
target 'PodTest' do
use_frameworks!
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'
end

Trying to install XMPPFramework in my objective c Project using Podfile

I am trying to install XMPPFramework in my objective c Project using Podfile.I had write this in my Podfile:
platform :ios, ‘8.0’
use_frameworks!
target ‘XMPP’ do
pod 'XMPPFramework', :git =>"https://github.com/robbiehanson/XMPPFramework.git", :branch => 'master'
end
But I am getting this Error while pod install this error is show in console.This is the image of console::
Can some one please Help me.Thanks.
Add this in your pod file,
pod 'XMPPFramework'
Remove ,
pod 'XMPPFramework', :git
=>"https://github.com/robbiehanson/XMPPFramework.git", :branch => 'master'
Run,
pod install
Try this. Hope it will help you.

No such module PDFReader

so i try to install PDF Reader. https://cocoapods.org/pods/PDFReader in installation guide i follow the instruction
target 'thePDF' do
pod 'PDFReader', '~> 2.1'
end
after pod install
i try so many option like only pod 'PDFReader' or try different version but still doesn't work.
EDIT:
i try
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, ‘8.0’
use_frameworks!
target ‘thePDF’ do
pod 'PDFReader', :git => 'https://github.com/Alua-Kinzhebayeva/iOS- PDF-Reader.git'
end
and it works, but when build, it shows some errors

"missing from working copy" build issues when upgrading to Cocoapods 1.0+

Cocoapods is no longer generating all the required headers in Pods/Headers/Private and thus causing hundreds of "missing from working copy" build issues.
The issue started happening when I upgraded from:
Xcode 7
Cocoapods pre-1.0 (not sure which version I had)
OSX El Capitan
platform ios 7.0
to
Xcode 8 Beta 6
Cocoapods 1.0.1
macOS Sierra 10.12 Beta
platform ios 8.0
My "Pods/Target Support Files" folder has 35 pods, but my "Pods/Headers/Private" and "Pods/Headers/Private" have only 4 pods each.
I tried adding "$(inherited)" to my build settings and many other of the suggested fixes on stackoverflow and cocoapods' website with no success.
platform :ios, '8.0'
target 'Meow' do
use_frameworks!
pod "AFNetworking"
pod 'SCLAlertView-Objective-C'
pod "MMMaterialDesignSpinner"
pod "JMImageCache"
pod “AWSCore”
pod “AWSSNS”
pod “AWSMobileAnalytics”
pod ”SSToolkit”, '~> 2.0.0'
pod ”TTTAttributedLabel”
pod ”M13ProgressSuite”
pod ”SSKeychain”
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod "Flurry-iOS-SDK"
pod "TPKeyboardAvoiding"
pod "UITextView+Placeholder"
pod "UIReadMoreLabel"
pod "RTLabel"
pod "HexColors"
pod "Branch"
pod 'Google/Analytics'
pod 'Mixpanel'
pod 'Fabric'
pod 'Crashlytics'
target 'MeowTests' do
inherit! :search_paths
end
end
Any help is super appreciated!
Henri
After lots of digging and trial/error I figured it out. The root issue was the upgrade from Cocoapods 0.39 to 1.0+.
You can solve this by following theses steps:
Remove any build settings you're overriding by following this: Cocoapods no longer builds project after update?
Downgrade from v1.0+ to 0.39 following this: How to downgrade or install an older version of Cocoapods
Delete the Pods folder, the Pod lock file
Add this line to the top of your Podfile
source "https://github.com/CocoaPods/Old-Specs"
Run pod install
Run cmd+k in Xcode and compile.
More Resources:
http://blog.cocoapods.org/Sharding/
To me #cybermach answer is partially helpful.
The full answer is:
1- Downgrade the CocoaPods from 1.0 to 0.39 using this link:
Install old cocoapods?
2- Then use this command "pod install" to again add the private headers.

Can not archive build in xcode with cocoa pods

I'm using xCode 6.3.2 and pods of 0.37.2. I have one main target and one test target, pod file looks like :
pod 'AFNetworking', '~> 2.0'
target :'UnitTest' do
pod 'OCMock', '~> 3.1' # OCMock
end
Also i am using config files, that include both "Pods.debug.xcconfig" and "Pods Tests.debug.xcconfig"
while trying to make an archive i get an error:
ld: library not found for -lPods-UnitTest-AFNetworking
If I use run with simulator - it works well.
What can be the reason of such strange issue?
One I have this problem I fixed this way :
pod 'AFNetworking', '~> 2.0'
target :UnitTest, :exclusive => true do
pod 'OCMock', '~> 3.1' # OCMock
end
exclusive => true do this is the trick. Hope it will work for you too.