Did anyone tried new Firebase Crash reporting?
I am stuck with following error after creating a crash .
CrashReporter[4248:] Firebase Analytics enabled
2016-05-27 09:22:07.579 CrashReporter[4248:68995] Firebase Crash Reporting: Failed to transmit crash: Error Domain=com.google.FirebaseCrash Code=1 "Upload failed" UserInfo={NSLocalizedDescription=Upload failed, NSLocalizedFailureReason=HTTP Error Code 403: {
This occurs when you have a missing or incorrect API_KEY, which is read out of your GoogleService-Info.plist file. I would check the following:
1) Confirm your GoogleService-Info.plist file contains an API_KEY. There is a rare bug where you can download the file and this field is not inserted. If the API_KEY is missing, download a new GoogleService-Info.plist file (click on your project, click the gear icon in the upper left of the screen, click project settings, select your app, and download a new config file).
2) Confirm you're using the correct GoogleService-Info.plist file. If you setup two projects, make sure both projects are using different files, and they aren't mixed up.
3) Make sure your GoogleService-Info.plist file wasn't renamed to something like GoogleService-Info.plist (1) by your web browser. If it was, rename it back to GoogleService-Info.plist
Edit: This can also be due to a CFBundleVersion or CFBundleShortVersionString not being a major.minor.patch, all numeric. The restriction on CFBundleVersion is getting dropped soon (along with a better error message)
Related
Hey I wanted to connect Ios App to Firebase, I did everything like in the documentation on the website but when I do the last step and want to run the App to connect with the firebase server, it is crashing and this message comes: Thread 1: Exception: "`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/."
But Why? I have it downloaded and integrated into my project, everything looks like in all the tutorials but it's not working...
And when I open the old blue Xcode project it is throwing this error:
Here are the references of the new white project, you can see that I have everything:
I would be really thankful if someone could help me! I just want to go ahead and work on the app:(
The error clearly says that it could not find a valid GoogleService-Info.plist , rename your file from GoogleService-Info-2.plist to GoogleService-Info.plist and then it should work.
The title error is what gets emailed after uploading the ipa via the application loader and below is the error that occurs in debug mode:
ERROR: "The framework
APPNAME.app/Frameworks/PersonalizedAdConsent.framework does not
contain a binary named PersonalizedAdConsent"
I've been getting this error in debug mode when trying to build the project. However, when I build it in Ad-Hoc mode, it builds fine and uploads on the application loader without any issues but then I get the following mail
"This bundle is invalid - The Info.plist file for
PersonalizedAdConsent.framework is missing or could not be read."
I've looked in the Info.plist file as well as .csproj file for this reference and I cannot find it anywhere.
Also searched online, can't find much about the PersonalizedAdConsent.
Any ideas?
So it seems like the issue was because of the following packages:
Xamarin.Google.iOS.MobileAds
&
Xamarin.Firebase.Ads
As far as I can tell, the app needs permissions to request consent to display ads or personalized ads (not too sure exactly) and it build correctly after removing these packages.
These were in a build that I've done on Windows for a different app which did not actually use them but VS for MAC gave me the issues and it turned out to be these packages that were causing it.
Hope it helps!
I have done all the required steps in https://firebase.google.com/docs/crash/ios to setup firebase crash reporting for my project. Then I set the run script as follow:
#Replaced GOOGLE_APP_ID
GOOGLE_APP_ID=1:app:Id
#Replaced the Path to serviceAccount.json
"${PODS_ROOT}"/FirebaseCrash/upload sym"${SRCROOT}/myProjectFolder/ServiceAccount.json"
I have read all the available links about firebase crash installing some said to check the "Run script only when installing", this will remove the error but will not send the crash to firebase console. On the other hand when I check "Show environment variables in build log" only I get the following error:
/Users/test/Documents/Projects/myproject/Pods/FirebaseCrash/upload-sym-util.bash:377: error: symbolFileMappings:upsert: Request contains an invalid argument.
Xcode 8.2.1
Actually I have done all these steps in another project and it works fine but I have problem in this project. Is there any reason for this error?
I am not sure but if you try then your problem may be solved.
accept ToS at https://console.cloud.google.com/
Give "Editor" role to your Service Account created for uploading symbols as described here https://firebase.google.com/docs/crash/ios#set_up_crash_reporting
So I am new to swift and xcode so please have mercy. So basically I am trying to connect my project in xcode to Firebase. I am using a blank single view application template and have not bothered with adding any buttons or more view controllers. I am just testing it and trying to connect it to Firebase. So the problem I am having is is the app succeeds in compiling, but then as soon as the application opens in the simulator, it gives me a Thread 1: signal SIGABRT error. I don’t know what I am doing wrong. I have followed all of the installation instructions correctly. I went to Firebase and configured the app with the bundle indentifier. I added the Google-Service.plist file into xcode. I succesful installed all of the pods into my project. I go into the app and add
import Firebase
FIRApp.configure()
into the delegate swift file. I save the project and close it. I open the app workspace file (the one it recommends to open) And then without adding anything to the project or adding any user interface options, I immediately run the project, it says build succeed and then instantly crashes and gives me the Thread 1: signal SIGABRT error. Does anybody have any ideas of what this is? I don’t know what I am doing wrong. I can’t move forward with swift and firebase if I can’t even configure it correctly. Can you please figure this out?
Here is the description of the error it gives me:
TestAppWithJack[71791] <Error> [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
2017-01-14 17:06:19.456 TestAppWithJack[71791:2160021] *** Terminating app due to uncaught exception 'com.firebase.core', reason: '[FIRApp configure] could not find a valid GoogleService-Info.plist in your project.
Did you make sure that the google plist is specifically called GoogleServices-Info.plist? If it isn't specifically that name, then it won't work.
Where did you put GoogleServices-Info.plist? If you dragged it to the wrong place, that could be why it was giving this error because it cannot find the file... Drag GoogleServices-Info.plist under your info.plist it should be fine then.
I am pulling my hair out on this error since the past few days. When I try to submit my cordova based iOS app I get an error that Symbols tool failed. This is What i have in my logs:
<IDEDistributionIssue: severity(error), error(Error Domain=ITunesSoftwareServiceErrorDomain Code=-19066 \"The path '/var/folders/sp/fhnmn9hd76vbdl523pf37krw0000gn/T/XcodeDistPipeline.8PQ/Packages/Healthpick Client.ipa' does not contain a file.\" UserInfo={NSLocalizedDescription=The path '/var/folders/sp/fhnmn9hd76vbdl523pf37krw0000gn/T/XcodeDistPipeline.8PQ/Packages/Healthpick Client.ipa' does not contain a file., NSLocalizedFailureReason=Unable to validate your application.})>
Here is a screenshot of the said error upon trying to submit to the app store:
Please help.
I had the same error because there were several static libraries (libXXX.a) erroneously included in the app's package. They were showing in the final upload confirmation box (listing Entitlements & Certificates), under the main .App.
My solution was to remove all references to those static libs from the project, adding them manually in the linker flags and library search paths.
There is certainly a better solution to prevent those files from being included. Hopefully someone more knowledgeable about Xcode can chime in.
I had the same symptoms as Benoit, and was able to remove the erroneously showing libXXX.a files from the app's package by doing the following:
Select the main project file
Select the app's target
Select "Build Phases"
Select "Copy Bundle Resources"
Remove any items related to the lib files that had been showing up in the app's target previously. In my case it was files related to Flurry.
Untick:
Include app symbols for your application on Validate and upload to App Store.
And Bitcode.
I seem to get this on XCode 8.3.1 when uploading an archive when my device is connected. When I unplug my device and try again it works.