receiving "framework not found MeasurementNanoPB" error on updating firebase pods to latest version - swift

Earlier was using 5.7.0 but there are some issue related to firebase storage. to find the solution of this I read somewhere that I need to update the firebase with latest version i.e 5.12.0 Or greater.
I am updating a new version but facing "framework not found MeasurementNanoPB" error. Search a lot regarding the same but no solution found.
There are no relavent steps, anyone who have updated firabse with latest version might have received the same error.
Tried manually installing the firebase sdk.

Resolved!
Tried deleting Pod.lock file, removed all the pods related to firebase from the Podfile. install pod without firebase. When it is done, add all the pods one by one for firebase.
It still gives an error for "GRPCClient not found". Add below framework in Podfile.
pod gRPC-ProtoRPC.
Then got error for "measurement nanopb.framework" not found so just follow below steps:
1) Clean project
2) Remove derived data from respective folder
3) Now search for "nanopb" in whole project(you will find under OtherLinkerFlags) and remove it.
4) Now Install POD again.
And you are done. Now the project will run without errors.

According to https://firebase.google.com/support/release-notes/ios
Version 5.14.0 - December 4, 2018, fixes this:
The FirebaseAnalytics CocoaPod corrects its dependency on the GoogleAppMeasurement CocoaPod (#2151).
Did you try to update to Firebase 5.14.0 ?
Otherwise, did you try to include pod 'Firebase/Performance'in your podfile ?

Related

Recently upgraded from Firebase 8.8 => 8.16 and now I have Firebase Instance ID error

I recently upgraded Firebase in my Swift app because I wanted to add App Check and I decided to update all the pods. Was only 8 minor releases 8.8 => 8.16. Now I am receiving
Firebase Instance ID is not compatible with Firebase 8.x+. Please
remove the dependency from the app.
I have removed my pods, cleaned, rebuilt, reinstalled.
I have restarted, cleaned, built.
I have removed App Check.
I have removed Messaging (which I've never used except for an experiment once).
I have no reference to Firebase Instance Id except in the FIR files which are Firebase's. Tried to follow the get started in the Firebase docs and they say use the Swift Package Manager (not sure if that was instead of CocoaPods?).
Any insight into this? It's obviously a new version issue, but would love to have to newest version for security vulnerability and any performance updates they've done. But my last resort will be to downgrade back to 8.8.

Nuget packages cannot be upgraded in Visual Studio 2019 despite they exist in Azure DevOps' artifacts

Our build pipeline has been working fine, producing and saving packages to our Azure DevOps artifact feed. Although, we recently started seeing a strange failure in Visual Studio 2019 when trying to upgrade one of the packages to the latest version per to the following screenshot:
As the screenshot depicts, the package version 1.0.1-preview4 does exist but the project is not upgraded to it and version 1.0.1-preview3 has to be picked up instead to upgrade! Any idea what the root cause of this issue is and how to address this problem?
I run into this issue quite frequently and it is caused by Caching. Clearing your Nuget Cache will resolve the issue. See this StackOverflow post:
Package is not found in the following primary source
Apart from cleaning the cache, also check if the version 1.0.1-preview4 is valid(unlisted or deleted?) in your list.
Then use the filter to locate the View of the 1.0.1-preview4 package. Determine the view it belongs to, #Local, #Prerelease or #Release. After that go feed settings=>Views to check the related permissions:
Make sure your local account has the permission to the View the 1.0.1-preview4 package belongs to.

AWS Appsync working example in Swift of s3 image upload?

I'm following this tutorial here:
https://docs.aws.amazon.com/appsync/latest/devguide/building-a-client-app-ios.html
I'm having some issues getting it to work, wondering if anyone has a working example.
Current issues:
Pods don't match up to the tutorial (awss3 and awsappsync require
different versions of AWSCore (2.6.6 vs 2.6.12)
When using using different pod versions (apsync 2.6.7 and awss3 2.6.6) - the code generated by api-appsync-codegen
doesn't compile - it doesn't create an S3Object class - but tries to
extend it.
Thanks for the help.
AppSync SDK release of 2.6.14 fixes this issue. Now it takes dependency on latest available version of code. You should be able to run pod install --repo-update and be able to get the latest installation.
Thanks,
Rohan

Firebase Firestore "Could not build module 'nanopb'

Im trying to try out the new firebase firestore database. My pod file has these two dependencies. My project will build if I don't include firestore.
pod 'Firebase/Core'
pod 'Firebase/Firestore'
Im getting the errors "Could not build module 'nanopb'" and "Unknown type name 'FOUNDATION_EXPORT'" in several places. I was wondering if this is a known issue with Firestore. I figured I could lower the version on Firestore but I'm unsure what to go to.
My pod versions are:
Firebase 4.5.0
FirebaseFirestore (0.9.1)
UPDATE: I built a new project and ran into the same error. At this point I can only imagine this version of firestore has errors or I'm not including something I need to. Is there a recommended version to use for now?
Make sure you're on a version of CocoaPods greater than 1.2.1. I was trying this in a Firebase code lab and got the same result as you until I updated to match the displayed CocoaPods requirement.
I'd thought I had a newer version of CP installed but when I ran pod --version it turned out I was running 1.1.1. Oops!

Unable to deploy using firebase 3.0.0

I'm trying to deploy using firebase 3.0.0 latest CLI version.
Unfortunately I get this errors:
Error: Unable to authorize access to project XXXX
Note: This version of the Firebase CLI is only compatible with projects upgraded
to the new Firebase Console. To access firebase.com apps, you will need to
use a previous version: npm install -g firebase-tools#^2.1
Any ideas?
As a matter of fact I was trying to deploy to a custom domain that was not yet verified.
My bad :(
Sorry guys.
I believe you need to upgrade your project to the new Firebase at firebase.google.com. If you haven't you should check out the announcements at Google I/O 2016.