cordova-plugin-firebase icon indicating copy to clipboard operation
cordova-plugin-firebase copied to clipboard

Undefined symbols for architecture arm64

Open ASHFAQPATWARI opened this issue 5 years ago • 23 comments

Describe the bug NOt able to build ionic application after updating the plugin.

Console Logs Undefined symbols for architecture arm64: "_GULLoggerInitializeASL", referenced from: ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) "_GULLoggerEnableSTDERR", referenced from: ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) "OBJC_CLASS$_GULSwizzler", referenced from: objc-class-ref in GoogleAppMeasurement(UIViewController+APMScreenClassName_bb34840e14481f32c5ecb9ffcac15bff.o) objc-class-ref in FirebasePerformance(FPRSelectorInstrumentor_43661c322536eae9342dbd4edb53bf7b.o) objc-class-ref in FirebasePerformance(FPRProxyObjectHelper_cae8c79ce5179c4587d285c87421f26f.o) "_GULLogInfo", referenced from: ___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_bb34840e14481f32c5ecb9ffcac15bff.o) "_GULLoggerForceDebug", referenced from: ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) "_kGULNetworkHTTPStatusCodeNotModified", referenced from: -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) "_kGULNetworkHTTPStatusCodeNotFound", referenced from: -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) "_kGULNetworkHTTPStatusCodeCannotAcceptTraffic", referenced from: -[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) "_GULLogWarning", referenced from: -[APMUserDefaults objectForKey:] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o) -[APMUserDefaults setObject:forKey:] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o) -[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o) +[APMMeasurement sharedInstance] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) ___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_bb34840e14481f32c5ecb9ffcac15bff.o) "_kGULNetworkHTTPStatusNoContent", referenced from: -[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) "_GULLoggerRegisterVersion", referenced from: ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) "_kGULNetworkHTTPStatusCodeUnavailable", referenced from: -[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) "_kGULNetworkHTTPStatusOK", referenced from: -[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) "_GULLogBasic", referenced from: -[APMASLLogger logMessage:logTag:messageCode:withLogLevel:] in GoogleAppMeasurement(APMASLLogger_b06c35e24aea4d3ad666632e11e79ef6.o) _FIRLogBasic in FirebaseCore(FIRLogger.o) "OBJC_CLASS$_GULObjectSwizzler", referenced from: objc-class-ref in FirebasePerformance(FPRObjectInstrumentor_e851288d6b6849d0b0294fa10cb31cfe.o) objc-class-ref in FirebasePerformance(FPRNetworkTrace_f6900b74cf65074de701b7de7866f471.o) objc-class-ref in FirebasePerformance(FPRNSURLConnectionInstrument_e1f5d400ad96be0ff646f570493cefd7.o) "OBJC_CLASS$_GULAppEnvironmentUtil", referenced from: objc-class-ref in FirebaseInstanceID(FIRMessagingLog_831659faf16f8906538fbfc3d5822ecc.o) objc-class-ref in FirebaseCoreDiagnostics(FIRDiagnostics_afb9975b7573ce8caa0e4380e6bfbe31.o) objc-class-ref in FirebaseAuth(FIRAuth.o) objc-class-ref in FirebaseAuth(FIRAuthAPNSTokenManager.o) objc-class-ref in FirebaseAuth(FIRAuthAppDelegateProxy.o) objc-class-ref in FirebaseAuth(FIRAuthDefaultUIDelegate.o) objc-class-ref in FirebaseRemoteConfig(RCNConfigSettings_32ebbc1ad7e48275f60b4ddc4a3b6e39.o) ... "OBJC_CLASS$_GULMutableDictionary", referenced from: objc-class-ref in GoogleAppMeasurement(APMRemoteConfig_a87cea1e5d19294f87a4448795cd24c6.o) objc-class-ref in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) "OBJC_CLASS$_GULNetwork", referenced from: objc-class-ref in GoogleAppMeasurement(APMAnalytics_f5f2b01aed09e7d23917a3e8a400242e.o) objc-class-ref in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) objc-class-ref in GoogleAppMeasurement(APMAppDelegateInterceptor_d25c2dc381ddbd5008199366846aae05.o) objc-class-ref in FirebaseCoreDiagnostics(FIRClearcutLogger_45763904baa6658ff86b47cac2ab23e7.o) "_GULIsLoggableLevel", referenced from: -[APMMonitor isLoggableLevel:] in GoogleAppMeasurement(APMMonitor_405c5a637e87914c89c37652996d219d.o) "_GULLogError", referenced from: +[APMAnalytics startWithAppID:origin:options:] in GoogleAppMeasurement(APMAnalytics_f5f2b01aed09e7d23917a3e8a400242e.o) -[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o) "_GULSetLoggerLevel", referenced from: -[APMMonitor setDebugModeEnabled:] in GoogleAppMeasurement(APMMonitor_405c5a637e87914c89c37652996d219d.o) _FIRSetLoggerLevel in FirebaseCore(FIRLogger.o) "OBJC_CLASS$_GULReachabilityChecker", referenced from: objc-class-ref in FirebaseMessaging(FIRMessaging.o) "OBJC_CLASS$_GULAppDelegateSwizzler", referenced from: objc-class-ref in GoogleAppMeasurement(APMAnalytics_f5f2b01aed09e7d23917a3e8a400242e.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

** ARCHIVE FAILED **

The following build commands failed: Ld /Users/apatwari/Library/Developer/Xcode/DerivedData/bmarket-giuanehfaxrymsdqdnepmubahtpm/Build/Intermediates.noindex/ArchiveIntermediates/bmarket/IntermediateBuildFilesPath/bmarket.build/Debug-iphoneos/bmarket.build/Objects-normal/arm64/bmarket normal arm64

Plugin Version cordova-plugin-firebase 2.0.5 "Google Firebase Plugin"

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: ios 12

Additional context Plugin was working fine before updating.

Please help.

ASHFAQPATWARI avatar Nov 17 '18 20:11 ASHFAQPATWARI

I have been having a very similar issue, what version of the plugin was working for you previously? Does it still work if the version is reverted?

Top of my error log:

Undefined symbols for architecture x86_64:
  "_GULLoggerInitializeASL", referenced from:
      ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
  "_GULLoggerEnableSTDERR", referenced from:
      ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
  "_OBJC_CLASS_$_GULSwizzler", referenced from:
      objc-class-ref in GoogleAppMeasurement(UIViewController+APMScreenClassName_9656c83908820df5d5741a22364bcbc3.o)
      objc-class-ref in FirebasePerformance(FPRSelectorInstrumentor_533cb9fc17c76e86c2a8deed3bf3bb8e.o)
      objc-class-ref in FirebasePerformance(FPRProxyObjectHelper_3a51514a260cac11ea82400beaac4a87.o)

Cordova 8.0.0 Cordova iOS 4.5.5 XCode 10.1

dwolner avatar Nov 21 '18 19:11 dwolner

Same issue here:

Undefined symbols for architecture armv7:
  "_FIRAuthStateDidChangeInternalNotificationUIDKey", referenced from:
      -[FIRAuth possiblyPostAuthStateChangeNotification] in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_FIRComponent", referenced from:
      objc-class-ref in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_FIRComponentType", referenced from:
      objc-class-ref in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_FIRComponentContainer", referenced from:
      objc-class-ref in FirebaseAuth(FIRAuth.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

cordova 8.1.2 ([email protected]) cordova ios 4.5.0 xcode Version 10.1 (10B61)

yeahstyle avatar Nov 21 '18 19:11 yeahstyle

I have been having the same issue, what version of the plugin was working for you previously? Does it still work if the version is reverted?

I've tried 2.0.0 and I have the same issue

EDIT:

I went back to v1.0.5 and it doesn't work either

Ld /Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/IntermediateBuildFilesPath/OLBG.build/Release-iphoneos/OLBG.build/Objects-normal/armv7/OLBG normal armv7 (in target: OLBG)
    cd /Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=9.0
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/BuildProductsPath/Release-iphoneos -L/Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/BuildProductsPath/Release-iphoneos/GoogleToolboxForMac -L/Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/BuildProductsPath/Release-iphoneos/Protobuf -L/Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/BuildProductsPath/Release-iphoneos/nanopb -L/Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/BuildProductsPath/Release-iphoneos/GoogleToolboxForMac -L/Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/BuildProductsPath/Release-iphoneos/Protobuf -L/Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/BuildProductsPath/Release-iphoneos/nanopb -L/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/OLBG/Plugins/cordova-plugin-appsflyer-sdk -L/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/OLBG/Plugins/cordova-plugin-google-app-conversion-tracker -F/Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/BuildProductsPath/Release-iphoneos -F/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/Pods/FirebaseCore/Frameworks -F/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/Pods/FirebaseInstanceID/Frameworks -F/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/Pods/FirebaseMessaging/Frameworks -F/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/Pods/FirebaseCore/Frameworks -F/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/Pods/FirebaseInstanceID/Frameworks -F/Users/alvarolaptop/Dropbox/OLBG/products/web-app/olbg-web-app/olbg-hybrid-app/platforms/ios/Pods/FirebaseMessaging/Frameworks -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -FOLBG/Plugins/cordova-plugin-firebase -filelist /Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/IntermediateBuildFilesPath/OLBG.build/Release-iphoneos/OLBG.build/Objects-normal/armv7/OLBG.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/IntermediateBuildFilesPath/OLBG.build/Release-iphoneos/OLBG.build/Objects-normal/armv7/OLBG_lto.o -Xlinker -final_output -Xlinker /Applications/OLBG.app/OLBG -fobjc-arc -fobjc-link-runtime -ObjC -ObjC -lGoogleToolboxForMac -lProtobuf -lc++ -lnanopb -lsqlite3 -lz -framework AddressBook -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstanceID -framework FirebaseMessaging -framework FirebaseNanoPB -framework StoreKit -framework SystemConfiguration -ObjC -lGoogleToolboxForMac -lProtobuf -lc++ -lnanopb -lsqlite3 -lz -framework AddressBook -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstanceID -framework FirebaseMessaging -framework FirebaseNanoPB -framework StoreKit -framework SystemConfiguration /Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/BuildProductsPath/Release-iphoneos/libCordova.a -framework SystemConfiguration -lz -framework StoreKit -weak_framework AdSupport -lAppsFlyerLib -weak_framework iAd -weak_framework Security -weak_framework AudioToolbox -framework CoreLocation -lGoogleConversionTracking -framework CoreSpotlight -framework CoreTelephony -weak_framework Social -weak_framework MessageUI -lPods-OLBG -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstanceID -framework FirebaseNanoPB -framework GoogleToolboxForMac -framework nanopb -framework Protobuf -framework FirebaseMessaging -framework Fabric -framework Crashlytics -framework FirebaseRemoteConfig -framework FirebaseABTesting -framework FirebaseAuth -framework GTMSessionFetcher -framework FirebasePerformance -framework FirebaseISASwizzler -framework FirebaseMethodSwizzler -Xlinker -dependency_info -Xlinker /Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/IntermediateBuildFilesPath/OLBG.build/Release-iphoneos/OLBG.build/Objects-normal/armv7/OLBG_dependency_info.dat -o /Users/alvarolaptop/Library/Developer/Xcode/DerivedData/OLBG-gumtqyxkhsixxqecnpedtvgelejp/Build/Intermediates.noindex/ArchiveIntermediates/OLBG/IntermediateBuildFilesPath/OLBG.build/Release-iphoneos/OLBG.build/Objects-normal/armv7/OLBG

Undefined symbols for architecture armv7:
  "_kFIRLoggerSwizzler", referenced from:
      ___63+[FIRSwizzler swizzleClass:selector:isClassSelector:withBlock:]_block_invoke in FirebaseMethodSwizzler(FIRSwizzler_82e11d7d79f6bfec451c7947188678ce.o)
  "_FIRAuthStateDidChangeInternalNotificationUIDKey", referenced from:
      -[FIRAuth possiblyPostAuthStateChangeNotification] in FirebaseAuth(FIRAuth_2366ac320b953f0bc7fcfa8add28b99c.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

any idea of what might be going on?

yeahstyle avatar Nov 21 '18 19:11 yeahstyle

alright- in my case this plugin was conflicting with another plugin:

removed that one and this one worked just fine. It looks like I don't need that one anymore anyways since this one handles push notifications as well

yeahstyle avatar Nov 21 '18 20:11 yeahstyle

what other plugin were you using that conflicted?

dwolner avatar Nov 21 '18 22:11 dwolner

what other plugin were you using that conflicted?

oh! forgot to mention it- duh!

https://github.com/phonegap/phonegap-plugin-push

yeahstyle avatar Nov 22 '18 02:11 yeahstyle

How did you manage to find out which plugin conflicted with this one ? I'm facing the same issue but i don't use phonegap-plugin-push

misterjojo avatar Nov 22 '18 22:11 misterjojo

@dwolner I am on 2.0.5. I have tried reverting back to many previous versions but none of them work now.

@misterjojo I am also not using phonegap-plugin-push and i am still facing the issue.

ASHFAQPATWARI avatar Nov 23 '18 14:11 ASHFAQPATWARI

Same here … not using phonegap-plugin-push

vuhrmeister avatar Nov 23 '18 15:11 vuhrmeister

How did you manage to find out which plugin conflicted with this one ? I'm facing the same issue but i don't use phonegap-plugin-push

Since both plugins do the same (they both require firebase) I just though it'd make sense to remove the other plugin.

yeahstyle avatar Nov 23 '18 16:11 yeahstyle

Found out that cordova-plugin-googleplus causes the conflict. After removing it build on iOS works.

vuhrmeister avatar Nov 26 '18 14:11 vuhrmeister

Interesting, I was able to fix this by reverting the plugin version back to v1.1.4 which I had used on a previous project. I am also using cordova-plugin-googleplus and cordova-plugin-code-push but did not try experimenting with removing them.

dwolner avatar Nov 26 '18 22:11 dwolner

I just went back to version 1.05 … this is working again (at least the build, don't get any notification). But rather not the version we want to use :(

vuhrmeister avatar Nov 27 '18 10:11 vuhrmeister

Yeah agreed, now running into some API issues requiring a setTimeout that I am not happy about and are most likely fixed in 2.0:

window.FirebasePlugin.grantPermission(() => {
                        setTimeout(() => {
                            window.FirebasePlugin.subscribe('general')
                        }, 2000)
                    })

Need to pinpoint the build issue in 2.0 but I am not sure where to start, maybe with the major changes.

dwolner avatar Nov 28 '18 00:11 dwolner

Same issue here and I have cordova-plugin-googleplus also

Yuripetusko avatar Jan 08 '19 12:01 Yuripetusko

Same issue with cordova-plugin-googleplus as well. Has anyone had any luck besides downgrading?

Edit: v1.0.5 works, have not tried other versions

t-roymyers avatar Jan 11 '19 21:01 t-roymyers

what other plugin were you using that conflicted?

oh! forgot to mention it- duh!

https://github.com/phonegap/phonegap-plugin-push

thanks, life saver !!!

WeihangTang avatar Apr 09 '19 22:04 WeihangTang

In my case it was the Google Plus plugin, I just needed to update and the problem was solved. I think maybe the problem is related to this: https://developers.google.com/android/guides/releases#may_23_2018, so if you have more than one plugin that uses Google Play services, you should update all your plugins, or maybe if it's your case for convenience you need to make a downgrade

lAndresul avatar May 07 '19 21:05 lAndresul

I hate this bug, no solution

hiepxanh avatar May 12 '19 15:05 hiepxanh

ugin, I just needed to update and the problem was solved. I think maybe the problem is related to this: https://developers.google.com/android/guides/releases#may_23_2018, so if you have more than one plugin that uses Google Play services, you should update all your plugins, or maybe if it's your case for convenience

Hi @lAndresul, to which versions did you upgrade exactly?

Sroose avatar May 14 '19 13:05 Sroose

FYI, SO question for workaround created

Sroose avatar May 14 '19 14:05 Sroose

I got same problem when use "cordova-plugin-firebase" and "cordova-plugin-googleplus". what is solution?

devotebest avatar Jun 25 '19 09:06 devotebest

Just remove phonegap-plugin-push and run again. Reason is phonegap-plugin-push conflict with cordova-plugin-firebase plugin.

To have both notifications and firebase tracking, can use cordova-plugin-firebase plugin.

manojalwisnz avatar Aug 19 '19 23:08 manojalwisnz