RN Firebase Pod Install modifies Lock Dependency With Quotes "GoogleToolboxForMac/NSData+zlib (~> 2.1)" - version-control

When I pod install I am getting one dependency which has quotes around it. I don't want these quotes, and also want to know what they are. The issue is on my team others run this command and do not get the quotes around
"GoogleToolboxForMac/NSData+zlib (~> 2.1)"
I am leaving this question somewhat open ended so that people can fill in as much information as possible about what in react native firebase versioning and cocoapods in general is causing this behavior. Thanks ahead of time for all of the thoughtful responses.
PODS:
- Crashlytics (3.9.3):
- Fabric (~> 1.7.2)
- Fabric (1.7.11)
- Firebase/Core (4.8.2):
- FirebaseAnalytics (= 4.0.9)
- FirebaseCore (= 4.0.14)
- Firebase/Messaging (4.8.2):
- Firebase/Core
- FirebaseMessaging (= 2.0.8)
- Firebase/RemoteConfig (4.8.2):
- Firebase/Core
- FirebaseRemoteConfig (= 2.1.1)
- FirebaseABTesting (1.0.0):
- FirebaseCore (~> 4.0)
- Protobuf (~> 3.1)
- FirebaseAnalytics (4.0.9):
- FirebaseCore (~> 4.0)
- FirebaseInstanceID (~> 2.0)
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- nanopb (~> 0.3)
- FirebaseCore (4.0.14):
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- FirebaseInstanceID (2.0.8):
- FirebaseCore (~> 4.0)
- FirebaseMessaging (2.0.8):
- FirebaseAnalytics (~> 4.0)
- FirebaseCore (~> 4.0)
- FirebaseInstanceID (~> 2.0)
- GoogleToolboxForMac/Logger (~> 2.1)
- Protobuf (~> 3.1)
- FirebaseRemoteConfig (2.1.1):
- FirebaseABTesting (~> 1.0)
- FirebaseAnalytics (~> 4.0)
- FirebaseCore (~> 4.0)
- FirebaseInstanceID (~> 2.0)
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
- Protobuf (~> 3.1)
- GoogleToolboxForMac/Defines (2.1.3)
- GoogleToolboxForMac/Logger (2.1.3):
- GoogleToolboxForMac/Defines (= 2.1.3)
- "GoogleToolboxForMac/NSData+zlib (2.1.3)":
- GoogleToolboxForMac/Defines (= 2.1.3)
- Heap (5.0.5)

The Podfile.lock file escapes certain characters so that it can be valid YAML. Detailed discussion in this issue.

Related

Entity Framework NullReferenceException on second migration

I am using entity framework in an F# project (SAFE-stack) and I can create the initial migration, but when I try to do another migration it fails with a NullReferenceException.
I'm on a SAFE-template 3.1.1, but if I add entity framework to a new safe-template 3.1.1 it works fine. I suspect it is something wrong with my paket.lock, but I am not sure, and I have not had any success in fixing ut.
Running the migration that fails give this error:
❯ dotnet ef migrations add Test --verbose
Using project '/Users/espen/code/horus/src/Server/Server.fsproj'.
Using startup project '/Users/espen/code/horus/src/Server/Server.fsproj'.
Writing '/Users/espen/code/horus/src/Server/obj/Server.fsproj.EntityFrameworkCore.targets'...
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=/var/folders/sb/g7_08qr135x_00vnhvz0hqqc0000gn/T/tmp509y63.tmp /verbosity:quiet /nologo /Users/espen/code/horus/src/Server/Server.fsproj
Writing '/Users/espen/code/horus/src/Server/obj/Server.fsproj.EntityFrameworkCore.targets'...
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=/var/folders/sb/g7_08qr135x_00vnhvz0hqqc0000gn/T/tmp4U1rqW.tmp /verbosity:quiet /nologo /Users/espen/code/horus/src/Server/Server.fsproj
Build started...
dotnet build /Users/espen/code/horus/src/Server/Server.fsproj /verbosity:quiet /nologo
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:13.26
Build succeeded.
dotnet exec --depsfile /Users/espen/code/horus/src/Server/bin/Debug/net5.0/Server.deps.json --additionalprobingpath /Users/espen/.nuget/packages --additionalprobingpath /usr/local/share/dotnet/sdk/NuGetFallbackFolder --runtimeconfig /Users/espen/code/horus/src/Server/bin/Debug/net5.0/Server.runtimeconfig.json /Users/espen/.nuget/packages/dotnet-ef/5.0.17/tools/netcoreapp3.1/any/tools/netcoreapp2.0/any/ef.dll migrations add Test --assembly /Users/espen/code/horus/src/Server/bin/Debug/net5.0/Server.dll --startup-assembly /Users/espen/code/horus/src/Server/bin/Debug/net5.0/Server.dll --project-dir /Users/espen/code/horus/src/Server/ --language F# --working-dir /Users/espen/code/horus/src/Server --verbose --root-namespace Server
Using assembly 'Server'.
Using startup assembly 'Server'.
Using application base '/Users/espen/code/horus/src/Server/bin/Debug/net5.0'.
Using working directory '/Users/espen/code/horus/src/Server'.
Using root namespace 'Server'.
Using project directory '/Users/espen/code/horus/src/Server/'.
Remaining arguments: .
Finding DbContext classes...
Finding IDesignTimeDbContextFactory implementations...
Finding application service provider in assembly 'Server'...
Finding Microsoft.Extensions.Hosting service provider...
No static method 'CreateHostBuilder(string[])' was found on class 'Program'.
No application service provider was found.
Finding DbContext classes in the project...
Found DbContext 'DataContext'.
Using context 'DataContext'.
Finding design-time services for provider 'Pomelo.EntityFrameworkCore.MySql'...
Using design-time services from provider 'Pomelo.EntityFrameworkCore.MySql'.
Finding design-time services referenced by assembly 'Server'...
Finding design-time services referenced by assembly 'Server'...
No referenced design-time services were found.
Finding IDesignTimeServices implementations in assembly 'Server'...
Using design-time services from class 'DesignTimeServices'.
'DataContext' disposed.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.Initialize(ColumnOperation columnOperation, IColumn column, RelationalTypeMapping typeMapping, Boolean isNullable, IEnumerable`1 migrationsAnnotations, Boolean inline)
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.Diff(IColumn source, IColumn target, DiffContext diffContext)+MoveNext()
at Pomelo.EntityFrameworkCore.MySql.Migrations.Internal.MySqlMigrationsModelDiffer.SkipRedundantCharSetSpecifyingAlterColumnOperations(IEnumerable`1 migrationOperations)+MoveNext()
at Pomelo.EntityFrameworkCore.MySql.Migrations.Internal.MySqlMigrationsModelDiffer.PostFilterOperations(IEnumerable`1 migrationOperations)+MoveNext()
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.DiffCollection[T](IEnumerable`1 sources, IEnumerable`1 targets, DiffContext diffContext, Func`4 diff, Func`3 add, Func`3 remove, Func`4[] predicates)+MoveNext()
at System.Linq.Enumerable.ConcatIterator`1.MoveNext()
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.Diff(ITable source, ITable target, DiffContext diffContext)+MoveNext()
at Pomelo.EntityFrameworkCore.MySql.Migrations.Internal.MySqlMigrationsModelDiffer.PostFilterOperations(IEnumerable`1 migrationOperations)+MoveNext()
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.DiffCollection[T](IEnumerable`1 sources, IEnumerable`1 targets, DiffContext diffContext, Func`4 diff, Func`3 add, Func`3 remove, Func`4[] predicates)+MoveNext()
at System.Linq.Enumerable.ConcatIterator`1.MoveNext()
at Pomelo.EntityFrameworkCore.MySql.Migrations.Internal.MySqlMigrationsModelDiffer.PostFilterOperations(IEnumerable`1 migrationOperations)+MoveNext()
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.Sort(IEnumerable`1 operations, DiffContext diffContext)
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.GetDifferences(IRelationalModel source, IRelationalModel target)
at Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder.ScaffoldMigration(String migrationName, String rootNamespace, String subNamespace, String language)
at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType, String namespace)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType, String namespace)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration.<>c__DisplayClass0_0.<.ctor>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Object reference not set to an instance of an object.
My paket.lock file locks like this:
STORAGE: NONE
RESTRICTION: == net5.0
NUGET
remote: https://api.nuget.org/v3/index.json
Auth0.AspNetCore.Authentication (1.0.4)
Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 5.0.17)
System.Text.Encodings.Web (>= 4.5.1)
Azure.Core (1.20)
Microsoft.Bcl.AsyncInterfaces (>= 1.0)
System.Diagnostics.DiagnosticSource (>= 4.6)
System.Memory.Data (>= 1.0.2)
System.Numerics.Vectors (>= 4.5)
System.Text.Encodings.Web (>= 4.7.2)
System.Text.Json (>= 4.6)
System.Threading.Tasks.Extensions (>= 4.5.4)
Azure.Identity (1.4.1)
Azure.Core (>= 1.17)
Microsoft.Identity.Client (>= 4.30.1)
Microsoft.Identity.Client.Extensions.Msal (>= 2.18.4)
System.Memory (>= 4.5.4)
System.Security.Cryptography.ProtectedData (>= 4.5)
System.Text.Json (>= 4.6)
System.Threading.Tasks.Extensions (>= 4.5.2)
Azure.Security.KeyVault.Certificates (4.2)
Azure.Core (>= 1.15)
System.Memory (>= 4.5.4)
System.Text.Json (>= 4.6)
System.Threading.Tasks.Extensions (>= 4.5.2)
Azure.Security.KeyVault.Secrets (4.2)
Azure.Core (>= 1.15)
System.Memory (>= 4.5.4)
System.Text.Json (>= 4.6)
System.Threading.Tasks.Extensions (>= 4.5.2)
Elmish.SweetAlert (3.4)
Fable.Core (>= 3.1.3)
Fable.Elmish (>= 3.0)
FSharp.Core (>= 4.7.2)
EntityFrameworkCore.FSharp (5.0.3)
FSharp.Core (>= 5.0)
Microsoft.EntityFrameworkCore.Design (>= 5.0.3)
Expecto (9.0.4)
FSharp.Core (>= 4.6)
Mono.Cecil (>= 0.11.3)
Fable.AST (3.1.1)
Fable.Browser.Blob (1.1.4)
Fable.Core (>= 3.0)
FSharp.Core (>= 4.7.2)
Fable.Browser.Dom (2.6)
Fable.Browser.Blob (>= 1.1.4)
Fable.Browser.Event (>= 1.4.5)
Fable.Browser.WebStorage (>= 1.0.4)
Fable.Core (>= 3.0)
FSharp.Core (>= 4.7.2)
Fable.Browser.Event (1.4.5)
Fable.Browser.Gamepad (>= 1.0.3)
Fable.Core (>= 3.0)
FSharp.Core (>= 4.7.2)
Fable.Browser.Gamepad (1.0.3)
Fable.Core (>= 3.0)
FSharp.Core (>= 4.7.2)
Fable.Browser.WebStorage (1.0.4)
Fable.Browser.Event (>= 1.4.4)
Fable.Core (>= 3.0)
FSharp.Core (>= 4.7.2)
Fable.Browser.XMLHttpRequest (1.1.6)
Fable.Browser.Blob (>= 1.1.4)
Fable.Browser.Event (>= 1.4.4)
Fable.Core (>= 3.0)
FSharp.Core (>= 4.7.2)
Fable.Core (3.7.1)
Fable.Elmish (3.1)
Fable.Core (>= 3.0)
FSharp.Core (>= 4.6.2)
Fable.Elmish.Browser (3.0.4)
Fable.Browser.Dom (>= 1.0)
Fable.Core (>= 3.0)
Fable.Elmish (>= 3.0)
FSharp.Core (>= 4.6.2)
Fable.Elmish.Debugger (3.3)
Fable.Core (>= 3.2.8)
Fable.Elmish (>= 3.0)
FSharp.Core (>= 4.7.2)
Thoth.Json (>= 6.0)
Fable.Elmish.HMR (4.1)
Fable.Core (>= 3.0)
Fable.Elmish.Browser (>= 3.0.4)
Fable.Elmish.React (>= 3.0.1)
FSharp.Core (>= 4.6.2)
Fable.Elmish.React (3.0.1)
Fable.Core (>= 3.0)
Fable.Elmish (>= 3.0)
Fable.React (>= 5.1)
FSharp.Core (>= 4.6.2)
Fable.FontAwesome (2.0)
Fable.Core (>= 3.0)
Fable.React (>= 5.1)
Fable.FontAwesome.Free (2.1)
Fable.Core (>= 3.0)
Fable.FontAwesome (>= 2.0)
Fable.React (>= 5.1)
Fable.GroupingPanel (0.3.1)
Fable.React (>= 6.2)
Fable.SimpleJson (>= 3.11)
FSharp.Core (>= 4.7.2)
Fable.Mocha (2.10)
Fable.Core (>= 3.0)
FSharp.Core (>= 4.7)
Fable.Parsimmon (4.1)
Fable.Core (>= 3.0)
FSharp.Core (>= 4.6.2)
Fable.React (8.0.1)
Fable.Browser.Dom (>= 2.4.4)
Fable.Core (>= 3.2.7)
FSharp.Core (>= 4.7.2)
Fable.Remoting.Client (7.16)
Fable.Browser.XMLHttpRequest (>= 1.0)
Fable.Core (>= 3.1.5)
Fable.Remoting.MsgPack (>= 1.13)
Fable.SimpleJson (>= 3.21)
FSharp.Core (>= 4.7)
Fable.Remoting.Giraffe (5.5)
Fable.Remoting.Server (>= 5.25)
FSharp.Core (>= 5.0)
Giraffe (>= 5.0)
Fable.Remoting.Json (2.19)
FSharp.Core (>= 4.7.2)
Newtonsoft.Json (>= 12.0.2)
Fable.Remoting.MsgPack (1.13)
FSharp.Core (>= 4.7.2)
Fable.Remoting.Server (5.25)
Fable.Remoting.Json (>= 2.19)
Fable.Remoting.MsgPack (>= 1.13)
FSharp.Core (>= 4.7.2)
Fable.SimpleJson (3.21)
Fable.Core (>= 3.1.5)
Fable.Parsimmon (>= 4.0)
FSharp.Core (>= 4.7)
Fake.Core.CommandLineParsing (5.20.4)
FParsec (>= 1.1.1)
FSharp.Core (>= 4.7.2)
Fake.Core.Context (5.20.4)
FSharp.Core (>= 4.7.2)
Fake.Core.Environment (5.20.4)
FSharp.Core (>= 4.7.2)
Fake.Core.FakeVar (5.20.4)
Fake.Core.Context (>= 5.20.4)
FSharp.Core (>= 4.7.2)
Fake.Core.Process (5.20.4)
Fake.Core.Environment (>= 5.20.4)
Fake.Core.FakeVar (>= 5.20.4)
Fake.Core.String (>= 5.20.4)
Fake.Core.Trace (>= 5.20.4)
Fake.IO.FileSystem (>= 5.20.4)
FSharp.Core (>= 4.7.2)
System.Collections.Immutable (>= 1.7.1)
Fake.Core.String (5.20.4)
FSharp.Core (>= 4.7.2)
Fake.Core.Target (5.20.4)
Fake.Core.CommandLineParsing (>= 5.20.4)
Fake.Core.Context (>= 5.20.4)
Fake.Core.Environment (>= 5.20.4)
Fake.Core.FakeVar (>= 5.20.4)
Fake.Core.Process (>= 5.20.4)
Fake.Core.String (>= 5.20.4)
Fake.Core.Trace (>= 5.20.4)
FSharp.Control.Reactive (>= 4.4.2)
FSharp.Core (>= 4.7.2)
Fake.Core.Trace (5.20.4)
Fake.Core.Environment (>= 5.20.4)
Fake.Core.FakeVar (>= 5.20.4)
FSharp.Core (>= 4.7.2)
Fake.IO.FileSystem (5.20.4)
Fake.Core.String (>= 5.20.4)
FSharp.Core (>= 4.7.2)
Farmer (1.6.16)
FSharp.Core (>= 5.0)
Feliz (1.67)
Fable.Core (>= 3.1.5)
Fable.React (>= 7.4)
Feliz.CompilerPlugins (>= 1.10)
FSharp.Core (>= 4.7.2)
Feliz.CompilerPlugins (1.10)
Fable.AST (>= 3.0)
FSharp.Core (>= 4.7.2)
Feliz.DaisyUI (2.0)
Feliz (>= 1.32)
FSharp.Core (>= 4.7.2)
Feliz.Recharts (3.14)
Feliz (>= 1.65)
FSharp.Core (>= 4.7.2)
Feliz.Router (3.8)
Fable.Core (>= 3.1.6)
Fable.Elmish (>= 3.1)
Feliz (>= 1.28)
Feliz.UseListener (>= 0.6.3)
FSharp.Core (>= 4.7.2)
Feliz.UseListener (0.6.3)
Fable.Core (>= 3.1.6 < 4.0)
Feliz (>= 1.17 < 2.0)
FSharp.Core (>= 4.7.2)
FParsec (1.1.1)
FSharp.Core (>= 4.3.4)
FSharp.Control.Reactive (5.0.2)
FSharp.Core (>= 4.7.2)
System.Reactive (>= 5.0)
FSharp.Control.Websockets (0.2.2)
FSharp.Core (>= 4.3.4)
Microsoft.IO.RecyclableMemoryStream (>= 1.2.2)
FSharp.Core (6.0.5)
Giraffe (5.0)
FSharp.Core (>= 5.0)
Giraffe.ViewEngine (>= 1.3)
Microsoft.IO.RecyclableMemoryStream (>= 1.3.6)
Newtonsoft.Json (>= 12.0.3)
Ply (>= 0.3.1)
System.Text.Json (>= 5.0.2)
Utf8Json (>= 1.3.7)
Giraffe.ViewEngine (1.4)
FSharp.Core (>= 5.0)
Google.Protobuf (3.21.5)
K4os.Compression.LZ4 (1.2.16)
K4os.Compression.LZ4.Streams (1.2.16)
K4os.Compression.LZ4 (>= 1.2.16)
K4os.Hash.xxHash (>= 1.0.6)
K4os.Hash.xxHash (1.0.7)
Microsoft.AspNetCore.Authentication.JwtBearer (5.0.10)
Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.7.1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (5.0.17)
Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.7.1)
Microsoft.AspNetCore.Cryptography.Internal (5.0.10)
Microsoft.AspNetCore.DataProtection (5.0.10)
Microsoft.AspNetCore.Cryptography.Internal (>= 5.0.10)
Microsoft.AspNetCore.DataProtection.Abstractions (>= 5.0.10)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0)
Microsoft.Extensions.Hosting.Abstractions (>= 5.0)
Microsoft.Extensions.Logging.Abstractions (>= 5.0)
Microsoft.Extensions.Options (>= 5.0)
Microsoft.Win32.Registry (>= 5.0)
System.Security.Cryptography.Xml (>= 5.0)
Microsoft.AspNetCore.DataProtection.Abstractions (5.0.10)
Microsoft.Bcl.AsyncInterfaces (5.0)
Microsoft.CodeCoverage (17.3)
Microsoft.CSharp (4.7)
Microsoft.EntityFrameworkCore (5.0.17)
Microsoft.EntityFrameworkCore.Abstractions (>= 5.0.17)
Microsoft.EntityFrameworkCore.Analyzers (>= 5.0.17)
Microsoft.Extensions.Caching.Memory (>= 5.0)
Microsoft.Extensions.DependencyInjection (>= 5.0.2)
Microsoft.Extensions.Logging (>= 5.0)
System.Collections.Immutable (>= 5.0)
System.ComponentModel.Annotations (>= 5.0)
System.Diagnostics.DiagnosticSource (>= 5.0.1)
Microsoft.EntityFrameworkCore.Abstractions (5.0.17)
Microsoft.EntityFrameworkCore.Analyzers (6.0.10)
Microsoft.EntityFrameworkCore.Design (5.0.3)
Microsoft.EntityFrameworkCore.Relational (5.0.17)
Microsoft.EntityFrameworkCore (>= 5.0.17)
Microsoft.Extensions.Configuration.Abstractions (>= 5.0)
Microsoft.Extensions.Caching.Abstractions (5.0)
Microsoft.Extensions.Primitives (>= 5.0)
Microsoft.Extensions.Caching.Memory (5.0)
Microsoft.Extensions.Caching.Abstractions (>= 5.0)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0)
Microsoft.Extensions.Logging.Abstractions (>= 5.0)
Microsoft.Extensions.Options (>= 5.0)
Microsoft.Extensions.Primitives (>= 5.0)
Microsoft.Extensions.Configuration.Abstractions (5.0)
Microsoft.Extensions.Primitives (>= 5.0)
Microsoft.Extensions.DependencyInjection (5.0.2)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0)
Microsoft.Extensions.DependencyInjection.Abstractions (5.0)
Microsoft.Extensions.FileProviders.Abstractions (5.0)
Microsoft.Extensions.Primitives (>= 5.0)
Microsoft.Extensions.Hosting.Abstractions (5.0)
Microsoft.Extensions.Configuration.Abstractions (>= 5.0)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0)
Microsoft.Extensions.FileProviders.Abstractions (>= 5.0)
Microsoft.Extensions.Logging (5.0)
Microsoft.Extensions.DependencyInjection (>= 5.0)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0)
Microsoft.Extensions.Logging.Abstractions (>= 5.0)
Microsoft.Extensions.Options (>= 5.0)
Microsoft.Extensions.Logging.Abstractions (5.0)
Microsoft.Extensions.Options (5.0)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0)
Microsoft.Extensions.Primitives (>= 5.0)
Microsoft.Extensions.Primitives (5.0.1)
Microsoft.Identity.Client (4.36.2)
Microsoft.Identity.Client.Extensions.Msal (2.19.1)
Microsoft.Identity.Client (>= 4.36.1)
System.Security.Cryptography.ProtectedData (>= 4.5)
Microsoft.Identity.Web (1.17)
Microsoft.AspNetCore.Authentication.JwtBearer (>= 5.0)
Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 5.0)
Microsoft.Identity.Client (>= 4.36)
Microsoft.Identity.Web.Certificate (>= 1.17)
Microsoft.Identity.Web.TokenCache (>= 1.17)
Microsoft.IdentityModel.Logging (>= 6.12.2)
Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.12.2)
System.IdentityModel.Tokens.Jwt (>= 6.12.2)
System.Text.Encodings.Web (>= 5.0.1)
Microsoft.Identity.Web.Certificate (1.17)
Azure.Identity (>= 1.3)
Azure.Security.KeyVault.Certificates (>= 4.1)
Azure.Security.KeyVault.Secrets (>= 4.1)
Microsoft.Identity.Client (>= 4.35.1)
System.Text.Encodings.Web (>= 4.7.2)
Microsoft.Identity.Web.TokenCache (1.17)
Microsoft.AspNetCore.DataProtection (>= 5.0.8)
Microsoft.Extensions.Caching.Memory (>= 5.0)
Microsoft.Extensions.Logging (>= 5.0)
Microsoft.Identity.Client (>= 4.35.1)
System.Text.Encodings.Web (>= 5.0.1)
Microsoft.Identity.Web.Ui (1.17)
Microsoft.Identity.Web (>= 1.17)
Microsoft.IdentityModel.JsonWebTokens (6.12.2)
Microsoft.IdentityModel.Tokens (>= 6.12.2)
Microsoft.IdentityModel.Logging (6.12.2)
Microsoft.IdentityModel.Protocols (6.12.2)
Microsoft.IdentityModel.Logging (>= 6.12.2)
Microsoft.IdentityModel.Tokens (>= 6.12.2)
Microsoft.IdentityModel.Protocols.OpenIdConnect (6.12.2)
Microsoft.IdentityModel.Protocols (>= 6.12.2)
System.IdentityModel.Tokens.Jwt (>= 6.12.2)
Microsoft.IdentityModel.Tokens (6.12.2)
Microsoft.CSharp (>= 4.5)
Microsoft.IdentityModel.Logging (>= 6.12.2)
System.Security.Cryptography.Cng (>= 4.5)
Microsoft.IO.RecyclableMemoryStream (2.1.3)
Microsoft.NET.Test.Sdk (17.3)
Microsoft.CodeCoverage (>= 17.3)
Microsoft.TestPlatform.TestHost (>= 17.3)
Microsoft.NETCore.Platforms (5.0.3)
Microsoft.TestPlatform.ObjectModel (17.3)
NuGet.Frameworks (>= 5.11)
System.Reflection.Metadata (>= 1.6)
Microsoft.TestPlatform.TestHost (17.3)
Microsoft.TestPlatform.ObjectModel (>= 17.3)
Newtonsoft.Json (>= 9.0.1)
Microsoft.Win32.Registry (5.0)
System.Security.AccessControl (>= 5.0)
System.Security.Principal.Windows (>= 5.0)
Microsoft.Win32.SystemEvents (5.0)
Microsoft.NETCore.Platforms (>= 5.0)
Mono.Cecil (0.11.4)
MySql.Data (8.0.30)
Google.Protobuf (>= 3.19.4)
K4os.Compression.LZ4.Streams (>= 1.2.6)
Portable.BouncyCastle (>= 1.9)
System.Buffers (>= 4.5.1)
System.Configuration.ConfigurationManager (>= 4.4.1)
System.Runtime.CompilerServices.Unsafe (>= 5.0)
System.Security.Permissions (>= 4.7)
System.Text.Encoding.CodePages (>= 4.4)
MySqlConnector (2.1.13)
Newtonsoft.Json (13.0.1)
NuGet.Frameworks (6.3)
Ply (0.3.1)
FSharp.Core (>= 4.6.2)
System.Threading.Tasks.Extensions (>= 4.5.4)
Pomelo.EntityFrameworkCore.MySql (5.0.4)
Microsoft.EntityFrameworkCore.Relational (>= 5.0.10 < 6.0)
Microsoft.Extensions.DependencyInjection (>= 5.0.2)
MySqlConnector (>= 1.3.13)
Portable.BouncyCastle (1.9)
Saturn (0.15)
FSharp.Control.Websockets (>= 0.2.2)
FSharp.Core (>= 5.0.1)
Giraffe (>= 5.0)
Microsoft.AspNetCore.Authentication.JwtBearer (>= 5.0.7)
System.Buffers (4.5.1)
System.Collections.Immutable (6.0)
System.Memory (>= 4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.ComponentModel.Annotations (5.0)
System.Configuration.ConfigurationManager (5.0)
System.Security.Cryptography.ProtectedData (>= 5.0)
System.Security.Permissions (>= 5.0)
System.Diagnostics.DiagnosticSource (5.0.1)
System.Drawing.Common (5.0.2)
Microsoft.Win32.SystemEvents (>= 5.0)
System.Formats.Asn1 (5.0)
System.IdentityModel.Tokens.Jwt (6.12.2)
Microsoft.IdentityModel.JsonWebTokens (>= 6.12.2)
Microsoft.IdentityModel.Tokens (>= 6.12.2)
System.Memory (4.5.4)
System.Memory.Data (1.0.2)
System.Text.Encodings.Web (>= 4.7.2)
System.Text.Json (>= 4.6)
System.Numerics.Vectors (4.5)
System.Reactive (5.0)
System.Reflection.Emit (4.7)
System.Reflection.Emit.Lightweight (4.7)
System.Reflection.Metadata (6.0.1)
System.Collections.Immutable (>= 6.0)
System.Runtime.CompilerServices.Unsafe (6.0)
System.Security.AccessControl (5.0)
Microsoft.NETCore.Platforms (>= 5.0)
System.Security.Principal.Windows (>= 5.0)
System.Security.Cryptography.Cng (5.0)
System.Formats.Asn1 (>= 5.0)
System.Security.Cryptography.Pkcs (5.0.1)
System.Formats.Asn1 (>= 5.0)
System.Security.Cryptography.Cng (>= 5.0)
System.Security.Cryptography.ProtectedData (5.0)
System.Security.Cryptography.Xml (5.0)
System.Security.Cryptography.Pkcs (>= 5.0)
System.Security.Permissions (>= 5.0)
System.Security.Permissions (5.0)
System.Security.AccessControl (>= 5.0)
System.Windows.Extensions (>= 5.0)
System.Security.Principal.Windows (5.0)
System.Text.Encoding.CodePages (6.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Encodings.Web (5.0.1)
System.Text.Json (5.0.2)
System.Threading.Tasks.Extensions (4.5.4)
System.ValueTuple (4.5)
System.Windows.Extensions (5.0)
System.Drawing.Common (>= 5.0)
Thoth.Json (6.0)
Fable.Core (>= 3.1.6)
FSharp.Core (>= 4.7.2)
Utf8Json (1.3.7)
System.Reflection.Emit (>= 4.3)
System.Reflection.Emit.Lightweight (>= 4.3)
System.Threading.Tasks.Extensions (>= 4.4)
System.ValueTuple (>= 4.4)
YoloDev.Expecto.TestSdk (0.13.3)
Expecto (>= 9.0 < 10.0)
FSharp.Core (>= 4.6.2)
System.Collections.Immutable (>= 6.0)
The problem was a string option in one of my database types. For some reason that did not work, although I have other option types, specifically DateTime option. So might be a problem with the version I have. Either way, figuring out that solved it for me, as I did not need to keep that string as an option.

Flutter : [Cloud_firestore] no data in release mode

when trying to get data from firestore in release mode "null" is always returned but not in debug or profile
Steps to reproduce
Steps to reproduce the behavior:
flutter run --release
no data comes at all from firebase
Expected behavior
as debug and profile it should get all data from firebase
Sample project
repository :
import 'package:cloud_firestore/cloud_firestore.dart';
import '../../../domain/models/yearmodel.dart';
import '../../../domain/years/contracts/i.years.repository.dart';
class YearsRepository implements IYearsRepository {
final _firestore = FirebaseFirestore.instance;
static const String yearscollection = "years";
#override
Stream<YearsModel> get yearsStream {
final docRef = _firestore.collection(yearscollection).doc("classes");
final snapshots = docRef.snapshots();
return snapshots.map((current) {
print(current.data());
return YearsModel.fromJson(current.data()!);
});
}
}
ui with flutter hooks and riverpod :
years.when(
data: (years) {
print(years);
return Column(children: [
SizedBox(
height: 250,
child: CupertinoPicker(
looping: true,
children: years.classes!
.map((e) => Center(
child: Text(e.name!),
))
.toList(),
itemExtent: 46,
onSelectedItemChanged: (index) async {
isclinical.value =
years.classes![index].isclinical!;
yearId.value = years.classes![index].id!;
yearName.value = years.classes![index].name!;
},
),
),
const SizedBox(
height: 10,
),
Container(
height: 50,
width: 210,
decoration: BoxDecoration(
border: Border.all(color: Colors.blue),
borderRadius: BorderRadius.circular(15),
color: Colors.white.withOpacity(0.1)),
child: Center(
child: Text(
yearName.value,
style: const TextStyle(fontSize: 24),
)),
)
]);
},
loading: () => const ShimmerAffect(height: 100, width: 100),
error: (error, stack) {
print("$error.toString");
Center(
child: Text("$error"),
);
Additional context
when the provider is triggered , it always hits the error: (error, stack) block
Flutter doctor
kivocsa99#kivocsa99:~$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.2, on Ubuntu 20.04.3 LTS 5.11.0-37-generic,
locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Android Studio
[✓] VS Code
[✓] Connected device (2 available)
• No issues found!
Flutter dependencies
~/AndroidStudioProjectsssd/mscmu$ flutter pub deps -- --style=compactDart SDK 2.14.3Flutter SDK 2.5.2mscmu 1.0.0+1
dependencies:
- android_path_provider 0.3.0 [flutter]
- audio_session 0.1.6+1 [flutter flutter_web_plugins rxdart meta]
- cached_network_image 3.1.0 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- carousel_slider 4.0.0 [flutter]
- cloud_firestore 2.5.3 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cupertino_icons 1.0.3
- dartz 0.10.0
- expandable 5.0.1 [flutter]
- expandable_text 2.2.0 [flutter]
- file_picker 4.1.3 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path]
- firebase_auth 3.1.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.7.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_messaging 10.0.8 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 10.0.5 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_downloader 1.7.0 [flutter]
- flutter_hooks 0.18.0 [flutter]
- flutter_slidable 0.6.0 [flutter]
- font_awesome_flutter 9.1.0 [flutter]
- form_field_validator 1.1.0 [flutter intl]
- freezed_annotation 0.14.3 [collection json_annotation meta]
- hooks_riverpod 0.14.0+5 [collection flutter flutter_hooks flutter_riverpod riverpod state_notifier]
- http 0.13.4 [async http_parser meta path]
- introduction_screen 2.1.0 [flutter dots_indicator]
- json_serializable 5.0.2 [analyzer build build_config collection json_annotation meta path source_gen source_helper]
- just_audio 0.9.12 [just_audio_platform_interface just_audio_web audio_session rxdart path path_provider async uuid crypto meta flutter]
- just_audio_libwinmedia 0.0.4 [flutter just_audio_platform_interface libwinmedia]
- logger 1.1.0
- motion_toast 1.5.0 [flutter]
- path_provider 2.0.5 [flutter path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- permission_handler 8.2.2 [flutter meta permission_handler_platform_interface]
- photo_view 0.13.0 [flutter]
- rxdart 0.27.2
- share 2.0.4 [meta mime flutter]
- shared_preferences 2.0.8 [flutter meta shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shimmer 2.0.0 [flutter]
- url_launcher 6.0.12 [flutter meta url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
dev dependencies:
- build_runner 2.1.4 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- freezed 0.14.5 [analyzer build build_config collection meta source_gen freezed_annotation]
transitive dependencies:
- _fe_analyzer_shared 28.0.0 [meta]
- analyzer 2.5.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 2.3.0
- async 2.8.1 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.1.1 [analyzer async convert crypto glob logging meta path]
- build_config 1.0.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.0.1 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.4 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.2 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.1.2 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.1.0
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.4 [meta path]
- clock 1.1.0
- cloud_firestore_platform_interface 5.4.2 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.4.3 [cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- convert 3.0.1 [typed_data]
- crypto 3.0.1 [collection typed_data]
- dart_style 2.2.0 [analyzer args path pub_semver source_span]
- dots_indicator 2.0.0 [flutter]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase_auth_platform_interface 6.1.1 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.1.2 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_messaging_platform_interface 3.0.6 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.0.6 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.0.3 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.0.3 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.1.2 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_plugin_android_lifecycle 2.0.3 [flutter]
- flutter_riverpod 0.14.0+3 [collection flutter meta riverpod state_notifier]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- frontend_server_client 2.1.2 [async path]
- glob 2.0.2 [async collection file path string_scanner]
- graphs 2.1.0 [collection]
- http_multi_server 3.0.1 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- io 1.0.3 [meta path string_scanner]
- js 0.6.3
- json_annotation 4.1.0 [meta]
- just_audio_platform_interface 4.0.0 [flutter plugin_platform_interface]
- just_audio_web 0.4.2 [just_audio_platform_interface flutter flutter_web_plugins]
- libwinmedia 0.0.7 [ffi path]
- lints 1.0.1
- logging 1.0.2
- matcher 0.12.10 [stack_trace]
- meta 1.7.0
- mime 1.0.0
- octo_image 1.0.0+1 [flutter flutter_blurhash]
- package_config 2.0.2 [path]
- path 1.8.0
- path_provider_linux 2.1.0 [flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.2 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.3 [ffi flutter meta path path_provider_platform_interface win32]
- pedantic 1.11.1
- permission_handler_platform_interface 3.7.0 [flutter meta plugin_platform_interface]
- platform 3.0.2
- plugin_platform_interface 2.0.2 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.3 [file path platform]
- pub_semver 2.1.0 [collection meta]
- pubspec_parse 1.1.0 [checked_yaml collection json_annotation pub_semver yaml]
- riverpod 0.14.0+3 [collection freezed_annotation meta state_notifier]
- shared_preferences_linux 2.0.2 [file meta flutter path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.2 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.2 [flutter flutter_web_plugins meta shared_preferences_platform_interface]
- shared_preferences_windows 2.0.2 [flutter file meta path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.2.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.1.1 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.0 [analyzer collection source_gen]
- source_span 1.8.1 [collection path term_glyph]
- sqflite 2.0.0+4 [flutter sqflite_common path]
- sqflite_common 2.0.1+1 [synchronized path meta]
- stack_trace 1.10.0 [path]
- state_notifier 0.7.1 [meta]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.4.2 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.0 [collection]
- url_launcher_linux 2.0.2 [flutter]
- url_launcher_macos 2.0.2 [flutter]
- url_launcher_platform_interface 2.0.4 [flutter plugin_platform_interface]
- url_launcher_web 2.0.4 [flutter flutter_web_plugins meta url_launcher_platform_interface]
- url_launcher_windows 2.0.2 [flutter]
- uuid 3.0.5 [crypto]
- vector_math 2.1.0
- watcher 1.0.1 [async path]
- web_socket_channel 2.1.0 [async crypto stream_channel]
- win32 2.2.9 [ffi]
- xdg_directories 0.2.0 [meta path process]
- yaml 3.1.0 [collection source_span string_scanner]```
</details>
---
You may not give permission to access the internet.
Go to android/app/src/main/AndroidManifest.xml and insert this line in the manifest:
<uses-permission android:name="android.permission.INTERNET"/>
UPDATE:
Another reason may be that you did not give permission from Firestore.
For this, go to the project > Firestore > Rules
Then, modify the line which contains "allow"(mostly line 5) to:
allow read, write;
I hope that my answer will help you! :)

How do I identify which flutter packages are blocking others from being updated to latest version?

I want to upgrade my dependencies to the latest possible, but I can't because they are being blocked by one of the packages.
How can I tell which one is causing the issue where others can't be updated? They pretty much all seem to be outdated. Running flutter pub outdated gives me the list of my packages where the resolvable and updatable are always the same as my current package.
> flutter pub outdated
Showing outdated packages.
[*] indicates versions that are not the latest available.
Package Name Current Upgradable Resolvable Latest
direct dependencies:
bip39 *1.0.3 *1.0.3 *1.0.3 1.0.6
cloud_firestore *0.16.0+1 *0.16.0+1 *0.16.0+1 1.0.5
firebase_auth *0.20.1 *0.20.1 *0.20.1 1.1.0
firebase_core *0.7.0 *0.7.0 *0.7.0 1.0.3
firebase_storage *7.0.0 *7.0.0 *7.0.0 8.0.3
flutter_blue *0.7.3 *0.7.3 *0.7.3 0.8.0
google_maps_flutter *1.2.0 *1.2.0 *1.2.0 2.0.3
http *0.12.2 *0.12.2 *0.12.2 0.13.1
image *2.1.19 *2.1.19 *2.1.19 3.0.2
image_picker *0.6.7+22 *0.6.7+22 *0.6.7+22 0.7.4
local_auth *0.6.3+4 *0.6.3+4 *0.6.3+4 1.1.4
permission_handler *5.1.0+2 *5.1.0+2 *5.1.0+2 6.1.3
transitive dependencies:
archive *2.0.13 *2.0.13 *2.0.13 3.1.2
args *1.6.0 *1.6.0 *1.6.0 2.0.0
bech32 *0.1.2 *0.1.2 *0.1.2 0.2.0
bip32 *1.0.7 *1.0.7 *1.0.7 1.0.10
bs58check *1.0.1 *1.0.1 *1.0.1 1.0.2
cloud_firestore_platform_interface *3.0.2 *3.0.2 *3.0.2 4.0.1
cloud_firestore_web *0.3.0+2 *0.3.0+2 *0.3.0+2 1.0.5
convert *2.1.1 *2.1.1 *2.1.1 3.0.0
crypto *2.1.5 *2.1.5 *2.1.5 3.0.1
firebase_auth_platform_interface *3.1.0 *3.1.0 *3.1.0 4.1.0
firebase_auth_web *0.3.3 *0.3.3 *0.3.3 1.0.6
firebase_core_platform_interface *3.0.1 *3.0.1 *3.0.1 4.0.0
firebase_core_web *0.2.1+3 *0.2.1+3 *0.2.1+3 1.0.2
firebase_storage_platform_interface *1.0.4 *1.0.4 *1.0.4 2.0.1
firebase_storage_web *0.1.1+3 *0.1.1+3 *0.1.1+3 1.0.3
fixnum *0.10.11 *0.10.11 *0.10.11 1.0.0
flutter_plugin_android_lifecycle *1.0.11 *1.0.11 *1.0.11 2.0.1
google_maps_flutter_platform_interface *1.2.0 *1.2.0 *1.2.0 2.0.4
hex *0.1.2 *0.1.2 *0.1.2 0.2.0
http_parser *3.1.4 *3.1.4 *3.1.4 4.0.0
image_picker_platform_interface *1.1.6 *1.1.6 *1.1.6 2.1.0
intl *0.16.1 *0.16.1 *0.16.1 0.17.0
permission_handler_platform_interface *2.0.2 *2.0.2 *2.0.2 3.1.3
petitparser *3.1.0 *3.1.0 *3.1.0 4.1.0
plugin_platform_interface *1.0.3 *1.0.3 *1.0.3 2.0.0
pointycastle *1.0.2 *1.0.2 *1.0.2 3.0.1
protobuf *1.1.3 *1.1.3 *1.1.3 2.0.0
quiver *2.1.5 *2.1.5 *2.1.5 3.0.1
rxdart *0.24.1 *0.24.1 *0.24.1 0.26.0
source_span *1.8.0 *1.8.0 *1.8.0 1.8.1
stream_transform *1.2.0 *1.2.0 *1.2.0 2.0.0
uuid *2.2.2 *2.2.2 *2.2.2 3.0.4
xml *4.5.1 *4.5.1 *4.5.1 5.1.0

Flutter locked on old pods

I am unable to get the Flutter project to update to the latest available pods for Flutter and Firebase Plugins. I have tried deleting the pods folder and clearing flutter build cache and pod cache.
My Flutter version is:
[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.6 19G2021, locale en-CA)
Output of pod outdated:
Updating spec repo `trunk`
CocoaPods 1.10.0.rc.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.10.0.rc.1
Analyzing dependencies
The color indicates what happens when you run `pod update`
<green> - Will be updated to the newest version
<blue> - Will be updated, but not to the newest version because of specified version in Podfile
<red> - Will not be updated because of specified version in Podfile
The following pod updates are available:
- abseil 0.20200225.0 -> (unused) (latest version 1.20200225.0)
- BoringSSL-GRPC 0.0.7 -> 0.0.7 (latest version 0.0.12)
- Firebase 6.26.0 -> (unused) (latest version 6.32.2)
- FirebaseAnalytics 6.6.0 -> 6.6.0 (latest version 6.8.2)
- FirebaseAuth 6.5.3 -> 6.5.3 (latest version 6.9.1)
- FirebaseCore 6.7.2 -> 6.7.2 (latest version 6.10.2)
- FirebaseCoreDiagnostics 1.5.0 -> 1.5.0 (latest version 1.6.0)
- FirebaseFirestore 1.15.0 -> 1.15.0 (latest version 1.17.1)
- FirebaseInstallations 1.3.0 -> 1.3.0 (latest version 1.7.0)
- Flutter 1.0.0 -> 1.0.0 (latest version 1.20.0)
- GoogleAppMeasurement 6.6.0 -> 6.6.0 (latest version 6.8.2)
- GoogleDataTransport 7.2.0 -> 7.2.0 (latest version 7.3.0)
- gRPC-C++ 1.28.2 -> 1.28.2 (latest version 1.32.0)
- gRPC-Core 1.28.2 -> 1.28.2 (latest version 1.32.0)
- nanopb 1.30905.0 -> 1.30905.0 (latest version 1.30906.0)
- Purchases 3.4.0 -> 3.4.0 (latest version 3.7.1)
- PurchasesHybridCommon 1.2.0 -> 1.2.0 (latest version 1.4.0)
I think there's a possibility that your cocopods repo is out of date.
Try the below steps
1. Check whether the dependency versions are correct or not
2. flutter clean
3. pod repo update
4. delete /ios/Pods/ and /ios/Podfile.lock

Flutter pod is not getting deleted

I had had installed firebase ad-mob to my project and after some days I removed it.
My pubspec.yaml
dependencies:
flutter:
sdk: flutter
intl: ^0.16.1
http: ^0.12.0+2
json_serializable: ^3.2.5
here there is no dependence of firebase but in my Podfiles.lock it show me firebase and. when I run my iOS code from Xcode it says to me firebase framework not found.
I Don't know why am able to see the firebase installation description still In my Podfiles.lock.
Podfiles.lock
PODS:
- Firebase/AdMob (6.14.0):
- Firebase/CoreOnly
- Google-Mobile-Ads-SDK (~> 7.50)
- Firebase/Core (6.14.0):
- Firebase/CoreOnly
- FirebaseAnalytics (= 6.1.7)
- Firebase/CoreOnly (6.14.0):
- FirebaseCore (= 6.5.0)
- firebase_admob (0.0.1):
- Firebase/AdMob
- Firebase/Core
- Flutter
- firebase_core (0.0.1):
- Firebase/Core
- Flutter
- firebase_core_web (0.1.0):
- Flutter
- FirebaseAnalytics (6.1.7):
- FirebaseCore (~> 6.5)
- FirebaseInstanceID (~> 4.2)
- GoogleAppMeasurement (= 6.1.7)
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (= 0.3.9011)
- FirebaseCore (6.5.0):
- FirebaseCoreDiagnostics (~> 1.0)
- FirebaseCoreDiagnosticsInterop (~> 1.0)
- GoogleUtilities/Environment (~> 6.4)
- GoogleUtilities/Logger (~> 6.4)
- FirebaseCoreDiagnostics (1.1.2):
- FirebaseCoreDiagnosticsInterop (~> 1.0)
- GoogleDataTransportCCTSupport (~> 1.0)
- GoogleUtilities/Environment (~> 6.2)
- GoogleUtilities/Logger (~> 6.2)
- nanopb (~> 0.3.901)
- FirebaseCoreDiagnosticsInterop (1.1.0)
- FirebaseInstanceID (4.2.8):
- FirebaseCore (~> 6.5)
- GoogleUtilities/Environment (~> 6.4)
- GoogleUtilities/UserDefaults (~> 6.4)
- Flutter (1.0.0)
- Google-Mobile-Ads-SDK (7.56.0):
- GoogleAppMeasurement (~> 6.0)
- GoogleAppMeasurement (6.1.7):
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
- GoogleUtilities/Network (~> 6.0)
- "GoogleUtilities/NSData+zlib (~> 6.0)"
- nanopb (= 0.3.9011)
- GoogleDataTransport (3.2.0)
- GoogleDataTransportCCTSupport (1.2.3):
- GoogleDataTransport (~> 3.2)
- nanopb (~> 0.3.901)
- GoogleUtilities/AppDelegateSwizzler (6.4.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (6.4.0)
- GoogleUtilities/Logger (6.4.0):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (6.4.0):
- GoogleUtilities/Logger
- GoogleUtilities/Network (6.4.0):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (6.4.0)"
- GoogleUtilities/Reachability (6.4.0):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (6.4.0):
- GoogleUtilities/Logger
- nanopb (0.3.9011):
- nanopb/decode (= 0.3.9011)
- nanopb/encode (= 0.3.9011)
- nanopb/decode (0.3.9011)
- nanopb/encode (0.3.9011)
DEPENDENCIES:
- firebase_admob (from `.symlinks/plugins/firebase_admob/ios`)
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
- firebase_core_web (from `.symlinks/plugins/firebase_core_web/ios`)
- Flutter (from `Flutter`)
SPEC REPOS:
trunk:
- Firebase
- FirebaseAnalytics
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseCoreDiagnosticsInterop
- FirebaseInstanceID
- Google-Mobile-Ads-SDK
- GoogleAppMeasurement
- GoogleDataTransport
- GoogleDataTransportCCTSupport
- GoogleUtilities
- nanopb
EXTERNAL SOURCES:
firebase_admob:
:path: ".symlinks/plugins/firebase_admob/ios"
firebase_core:
:path: ".symlinks/plugins/firebase_core/ios"
firebase_core_web:
:path: ".symlinks/plugins/firebase_core_web/ios"
Flutter:
:path: Flutter
SPEC CHECKSUMS:
Firebase: 0219bb4782eb1406f1b9b0628a2e625484ce910d
firebase_admob: d8c2bc95b5e0069406280ce6adb816cdee6aa595
firebase_core: 920b9b2a74489a0cf6c5009b744f7f7f5fd84cf6
firebase_core_web: d501d8b946b60c8af265428ce483b0fff5ad52d1
FirebaseAnalytics: f68b9f3f1241385129ae0a83b63627fc420c05e5
FirebaseCore: 632e05cc5e1199d9147122c16d92305eb04c34bd
FirebaseCoreDiagnostics: 511f4f3ed7d440bb69127e8b97c2bc8befae639e
FirebaseCoreDiagnosticsInterop: e9b1b023157e3a2fc6418b5cb601e79b9af7b3a0
FirebaseInstanceID: ce993a3c3670a8f5d47ce371ac5d143c560608c5
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
Google-Mobile-Ads-SDK: 65e335fadc97c5a91a9d4546214bfd3a2fb11047
GoogleAppMeasurement: db118eb61a97dd8c4f7014e368d3c335cbbcf80a
GoogleDataTransport: 8e9b210c97d55fbff306cc5468ff91b9cb32dcf5
GoogleDataTransportCCTSupport: 202d7cdf9c4a7d81a2bb7f7e7e1ba6faa421b1f2
GoogleUtilities: 29bd0d8f850efbd28cff6d99e8b7da1f8d236bcf
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
PODFILE CHECKSUM: 083258d7f5e80b42ea9bfee905fe93049bc04c64
COCOAPODS: 1.8.3
Thanks for the help.
Try deleting the podfile.
First, go to ios directory cd ios (assuming that your working dir is your project).
Remove podfile and podfile.lock using rm podfile and rm podfile.lock
They will build again when you flutter run your project.