firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.7k stars 3.97k forks source link

[firebase_auth]: macos pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) #13567

Open cyberpwnn opened 1 week ago

cyberpwnn commented 1 week ago

Is there an existing issue for this?

Which plugins are affected?

Auth

Which platforms are affected?

macOS

Description

See #13323 as its still happening on macos builds, not sure why it was locked so quickly nothing was fixed.

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -ferror-limit 19 -serialize-diagnostic-file /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/Objects-normal/arm64/FLTAuthStateChannelStreamHandler.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-implicit-fallthrough -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fmodule-map-file\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/firebase_auth/firebase_auth.framework/Modules/module.modulemap -fmodule-map-file\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Modules/module.modulemap -fmodule-map-file\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Modules/module.modulemap -fmodule-map-file\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/TargetConditionals.modulemap -fmodule-map-file\=/Users/danielmills/development/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.xcframework/macos-arm64_x86_64/FlutterMacOS.framework/Modules/module.modulemap -fmodule-map-file\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseAuth/FirebaseAuth.framework/Modules/module.modulemap -fmodule-map-file\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Cryptexes/OS/System/Library/Frameworks/AuthenticationServices.framework/Modules/module.modulemap -fmodule-map-file\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/firebase_core/firebase_core.framework/Modules/module.modulemap -o /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/Objects-normal/arm64/FLTAuthStateChannelStreamHandler.o -disable-free -emit-obj -x objective-c /Users/danielmills/.pub-cache/hosted/pub.dev/firebase_auth-5.3.1/macos/Classes/FLTAuthStateChannelStreamHandler.m -target-abi darwinpcs -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -triple arm64-apple-macosx10.15.0 -target-linker-version 1115.7.3 -target-sdk-version\=15.0 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16 -fmodule-format\=obj -fmodule-file\=AuthenticationServices\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/ExplicitPrecompiledModules/AuthenticationServices-EY4T33R7B0THT4VZT5BDOEM2B.pcm -fmodule-file\=Cocoa\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/ExplicitPrecompiledModules/Cocoa-3LJR36JIYUGVSDC81582VG03A.pcm -fmodule-file\=FirebaseAuth\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/ExplicitPrecompiledModules/FirebaseAuth-8JEQ5HYSNIIKQYBZHJ36GMNWV.pcm -fmodule-file\=FlutterMacOS\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/ExplicitPrecompiledModules/FlutterMacOS-9JHKEF5QAIYAYLHLA5JLSCSKP.pcm -fmodule-file\=Foundation\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/ExplicitPrecompiledModules/Foundation-D5FYZ35W8KUGEWFBFST8B0QUH.pcm -fmodule-file\=TargetConditionals\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/ExplicitPrecompiledModules/TargetConditionals-CQ0WUCFMRQAP5QPLH0CDM8YVO.pcm -fmodule-file\=firebase_core\=/Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/ExplicitPrecompiledModules/firebase_core-5YAYLW6YN3AQ5XWHXNN6ETRN6.pcm -I /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/firebase_auth-own-target-headers.hmap -I /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/firebase_auth-all-non-framework-target-headers.hmap -I /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/firebase_auth/include -I /Users/danielmills/development/workspace/Crucible/applications/crucible/macos/Pods/Headers/Public -I /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/DerivedSources-normal/arm64 -I /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/DerivedSources/arm64 -I /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/DerivedSources -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/firebase_auth -F /Users/danielmills/development/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.xcframework/macos-arm64_x86_64 -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/BoringSSL-GRPC -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseAppCheckInterop -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseAuth -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseAuthInterop -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseCore -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseCoreExtension -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseCoreInternal -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseCrashlytics -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseFirestore -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseFirestoreInternal -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseFunctions -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseInstallations -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseMessagingInterop -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseRemoteConfigInterop -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseSessions -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseSharedSwift -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/FirebaseStorage -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/GTMSessionFetcher -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/GoogleDataTransport -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/GoogleUtilities -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/PromisesObjC -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/PromisesSwift -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/abseil -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/firebase_core -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/gRPC-C++ -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/gRPC-Core -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/leveldb-library -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/nanopb -F /Users/danielmills/development/workspace/Crucible/applications/crucible/macos/Pods/FirebaseAnalytics/Frameworks -F /Users/danielmills/development/workspace/Crucible/applications/crucible/macos/Pods/GoogleAppMeasurement/Frameworks -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport -F /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Products/Debug/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport -iquote /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/firebase_auth-generated-files.hmap -iquote /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/firebase_auth-project-headers.hmap -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/local/include -isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -ivfsstatcache /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/SDKStatCaches.noindex/macosx15.0-24A336-b74dfec4bc4e9d23bc944d435a01a688.sdkstatcache -ivfsoverlay /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/Pods-8699adb1dd336b26511df848a716bd42-VFS/all-product-headers.yaml -std\=gnu11 -fexceptions -fmodules -fmodule-name\=firebase_auth -fno-implicit-modules -fobjc-exceptions -fmax-type-align\=16 -fpascal-strings -fstack-check -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fobjc-runtime\=macosx-10.15.0 -fobjc-arc -fobjc-runtime-has-weak -fobjc-weak -fgnuc-version\=4.2.1 -fblocks -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fdebug-compilation-dir\=/Users/danielmills/development/workspace/Crucible/applications/crucible/macos/Pods -fcoverage-compilation-dir\=/Users/danielmills/development/workspace/Crucible/applications/crucible/macos/Pods -fobjc-msgsend-selector-stubs -fregister-global-dtors-with-atexit -fno-strict-return -mrelax-all -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -mframe-pointer\=non-leaf -funwind-tables\=1 -clear-ast-before-backend -discard-value-names -main-file-name FLTAuthStateChannelStreamHandler.m -debug-info-kind\=standalone -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D COCOAPODS\=1 -D DEBUG\=1 -D LIBRARY_NAME\=@\"flutter-fire-auth\" -D LIBRARY_VERSION\=@\"5.3.1\" -D OBJC_OLD_DISPATCH_PROTOTYPES\=0 -D POD_CONFIGURATION_DEBUG\=1 -D __GCC_HAVE_DWARF2_CFI_ASM\=1 -include /Users/danielmills/development/workspace/Crucible/applications/crucible/macos/Pods/Target\ Support\ Files/firebase_auth/firebase_auth-prefix.pch -MT dependencies -dependency-file /Users/danielmills/development/workspace/Crucible/applications/crucible/build/macos/Build/Intermediates.noindex/Pods.build/Debug/firebase_auth.build/Objects-normal/arm64/FLTAuthStateChannelStreamHandler.d -skip-unused-modulemap-deps
In file included from /Users/danielmills/.pub-cache/hosted/pub.dev/firebase_auth-5.3.1/macos/Classes/FLTAuthStateChannelStreamHandler.m:5:
In file included from /Users/danielmills/.pub-cache/hosted/pub.dev/firebase_auth-5.3.1/macos/Classes/Private/FLTAuthStateChannelStreamHandler.h:17:
/Users/danielmills/.pub-cache/hosted/pub.dev/firebase_auth-5.3.1/macos/Classes/Private/PigeonParser.h:13:12: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   13 | + (NSArray *)getManualList:(nonnull PigeonUserDetails *)userDetails;
      |            ^
   13 | + (NSArray *)getManualList:(nonnull PigeonUserDetails *)userDetails;
      |            ^
      |             _Nullable
   13 | + (NSArray *)getManualList:(nonnull PigeonUserDetails *)userDetails;
      |            ^
      |             _Nonnull

Reproducing the issue

Try to use firebase_auth on a supported platform like macos

Firebase Core version

3.6.0

Flutter Version

3.24.4

Relevant Log Output

above

Flutter dependencies

Its a pointer issue in firebase_auth im not doing this especially if its just going to get locked and closed in 30 minutes anyways. Read #13323

Additional context and comments

Read #13323 and stop locking issues

SelaseKay commented 1 week ago

Hi @cyberpwnn , what version of firebase_auth are you using?