Closed
Description
Bug report
I cannot compile macOS application using cloud_firestore
0.15.0 and latest master.
ld: warning: dylib (/Users/sma/Work/tellorium_poc/build/macos/Build/Products/Release/BoringSSL-GRPC/openssl_grpc.framework/openssl_grpc) was built for newer macOS version (10.12) than being linked (10.9)
/Users/sma/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.15.0/macos/Classes/FLTFirebaseFirestorePlugin.m:8:9: fatal error: 'Private/FLTDocumentSnapshotStreamHandler.h' file not found
#import "Private/FLTDocumentSnapshotStreamHandler.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
** BUILD FAILED **
I checked the folder and the header file is indeed missing.
The previous version 0.14.4 did work.
Steps to reproduce
Steps to reproduce the behavior:
-
my flutter version:
[✓] Flutter (Channel master, 1.26.0-2.0.pre.288, on macOS 11.1 20C69 darwin-x64, locale de-DE) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 12.3) [✓] Chrome - develop for the web [✓] Android Studio (version 4.0) [✓] VS Code (version 1.52.1) [✓] Connected device (2 available)
-
my
pubspec.yaml
includes:dependencies: cloud_firestore: ^0.15.0 firebase_core: ^0.6.0
-
run
flutter build macos
Expected behavior
It should successfully compile.
Additional info
contents of Private
folder:
-rw-r--r-- 1 sma staff 401 13 Jul 2020 FLTFirebaseFirestoreReader.h
-rw-r--r-- 1 sma staff 1856 13 Jul 2020 FLTFirebaseFirestoreUtils.h
-rw-r--r-- 1 sma staff 396 13 Jul 2020 FLTFirebaseFirestoreWriter.h
headers included in FLTFirebaseFirestorePlugin.m
:
#import "Private/FLTDocumentSnapshotStreamHandler.h"
#import "Private/FLTFirebaseFirestoreUtils.h"
#import "Private/FLTQuerySnapshotStreamHandler.h"
#import "Private/FLTSnapshotsInSyncStreamHandler.h"
#import "Private/FLTTransactionStreamHandler.h"
It looks like the above file is not the only one that is missing.