EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 445 forks source link

Compile error 10.6.0 on iOS #1712

Closed abhayastudios closed 3 years ago

abhayastudios commented 3 years ago

Trying to upgrade the plugin to 10.6.0 on NS 6.5.x for update to Crashlytics support and getting this compile error on iOS with xcode 12:

<module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTCORPrioritizer.h'
      [-Werror,-Wincomplete-umbrella]
#import "Headers/GoogleDataTransport-umbrella.h"
^
<module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTCORUploadPackage.h'
      [-Werror,-Wincomplete-umbrella]
2 errors generated.
In file included from ./platforms/ios/Pods/FirebaseCoreDiagnostics/Firebase/CoreDiagnostics/FIRCDLibrary/FIRCoreDiagnostics.m:20:
./platforms/ios/Pods/FirebaseCoreDiagnostics/GoogleDataTransport/GDTCORLibrary/Internal/GoogleDataTransportInternal.h:18:9: fatal error:
      could not build module 'GoogleDataTransport'
#import <GoogleDataTransport/GoogleDataTransport.h>

Any suggestions?

abhayastudios commented 3 years ago

Never mind after removing platforms dir the problem was resolved (should have done it sooner!)