-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase Firestore could not build modules while archiving app #1266
Comments
I went ahead and updated my pod file to the following:
I'm still getting the four errors. Thanks, |
This is grpc/grpc#7406. Also discussed at #898 (comment). The workaround is to comment More discussion at GoogleCloudPlatform/ios-docs-samples#30 and https://github.com/GoogleCloudPlatform/ios-docs-samples/blob/master/speech/Swift/Speech-gRPC-Streaming/BUILDFIXES |
Thanks for the workaround. I got everything to work with it.
…On Sat, May 12, 2018 at 8:06 AM Paul Beusterien ***@***.***> wrote:
This is grpc/grpc#7406 <grpc/grpc#7406>. Also
discussed at #898 (comment)
<#898 (comment)>
.
The workaround is to comment #import "transformations/GRXMappingWriter.h"
line from gRPC_RxLibrary-umbrella.h.
More discussion at GoogleCloudPlatform/ios-docs-samples#30
<GoogleCloudPlatform/ios-docs-samples#30> and
https://github.com/GoogleCloudPlatform/ios-docs-samples/blob/master/speech/Swift/Speech-gRPC-Streaming/BUILDFIXES
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1266 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANI89V6eLtbIfTAAtG6EvifT1tykTb4Nks5txvpigaJpZM4T8R4u>
.
|
The workaround paulb777 specified works great on local projects. Locally the errors are fixed indeed, but Travis builds still fail. Thanks in advance! |
@Julianvantveld you can work around this by checking in your |
@morganchen12 Thanks for your comment. However, when using multiple extensive libraries this is something I'd rather avoid doing. I've submitted a Firebase Bug Report and got a response within 24 hours stating they are aware of the problem and working on it. A time estimate though wasn't given. Fingers crossed they fix it soon. NOTE: Firebase updates of 16th May (5.0.1) do not fix this issue. |
Since this is a gRPC issue, the fix will be rolled out in a release of gRPC. It won't be tied to the Firebase release cycle. |
How comes its been so many days and this still hasn't been fixed? Does anyone know if a fix is being worked on for the Pods? I can fix this in a local copy fine, but as @Julianvantveld said this is a huge issue for CI. |
Add the following step to your CICD process after the
Used this a year or so ago to fix a gRPC build. Guess it has not yet been permanently fixed. |
The other CI/CD friendly solution is to add
to your |
To get the fix now you need something like this in your Podfile
Note that I don't recommend this for anything more than playing around. |
Hey, thanks for all the info, since I'm on a production build whats the best option?
I know the difference, but I'm not aware of critical bug fixes from 5.2 to 5.0 or the kind of problems I may run if I have to point these gRPC to the git master. any suggestions? Thanks |
@Rovel I recommend the workaround at #1266 (comment), since it focused and non-intrusive. Its downside is that it needs to be redone after any |
Note that the grpc fix is now available at the |
… use enum's rawValue, not hashValue * To fix archive issue with third party library Firebase/Firestore, locally modified by commented out the GRXMappingWriter.h import in file Pods/Target Support Files/gRPC-RxLibrary/gRPC-RxLibrary-umbrella.h . Be sure to delete this file and pod update/install this Firebase/Firestore import again when the third party library is fixed. Refer to this link for furthere info: firebase/firebase-ios-sdk#1266 * Updated pod to: - Bolts (1.9.0) - BoringSSL (10.0.5) - Crashlytics (3.10.2) - FBSDKCoreKit (4.33.0) - FBSDKLoginKit (4.33.0) - FBSDKShareKit (4.33.0) - Fabric (1.7.7) - FacebookCore (0.3.1) - FacebookLogin (0.3.1) - FacebookShare (0.3.1) - Firebase (5.2.0) - FirebaseAnalytics (5.0.1) - FirebaseAuth (5.0.1) - FirebaseCore (5.0.3) - FirebaseFirestore (0.12.3) - FirebaseInstanceID (3.1.0) - GTMSessionFetcher (1.1.15) - GoogleToolboxForMac (2.1.4) - Protobuf (3.6.0) - gRPC (1.12.0) - gRPC-Core (1.12.0) - gRPC-ProtoRPC (1.12.0) - gRPC-RxLibrary (1.12.0) - leveldb-library (1.20) - nanopb (0.3.8)
Thanks for the workaround paulb777 (commented on May 12, 2018) |
When will this be properly integrated into the framework? |
As noted above: the fix is coming from gRPC in the 1.13.0 release. They're now on the third prerelease (v1.13.0-pre3). |
gRPC 1.13.0 has now released and I confirmed that my test case successfully archives. |
[REQUIRED] Step 2: Environment
[REQUIRED] Step 3: Describe the problem
I'm unable to finish archiving a project with Firebase 5.0. There are several closed issues for 4.10 with the same symptoms.
When archiving my project, I get the following errors:
RxLibrary-umbrella.h:23:9: Include of non-modular header inside framework module 'RxLibrary
GRPCCall.h:36:9: Could not build module 'RxLibrary'
ProtoRPC.h:20:9: Could not build module 'GRPCClient'
Firestore.pbrpc.h:21:9: Could not build module 'ProtoRPC'
Steps to reproduce:
My pod has the following:
pod 'Firebase/Core'
pod 'Firebase/Firestore'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'FirebaseUI/Facebook'
Pods output:
Using FBSDKCoreKit (4.33.0)
Using FBSDKLoginKit (4.33.0)
Using Firebase (5.0.0)
Using FirebaseAnalytics (5.0.0)
Using FirebaseAuth (5.0.0)
Using FirebaseCore (5.0.0)
Using FirebaseFirestore (0.12.0)
Using FirebaseInstanceID (3.0.0)
Using FirebaseStorage (3.0.0)
Using FirebaseUI (5.0.0)
Relevant Code:
Create project and archive it. Use SDK 5.0.
The text was updated successfully, but these errors were encountered: