tuist icon indicating copy to clipboard operation
tuist copied to clipboard

Firebase dependency prevents boringssl-SwiftPM dependency-Xcode-project from being generated

Open monchote opened this issue 1 year ago • 0 comments

What happened?

  • Integrating Google Firebase and Google Nearby dependencies produces errors when integrated via Tuist.
  • The attached sample project points to my own fork because Google's repo has 2 separate issues that I've fixed and PR'd here: https://github.com/google/nearby/pull/2816
  • When Firebase is not included, the dependency Xcode project for BoringSSL-GRPC gets correctly generated and the app builds well. When Firebase is included BoringSSL-GRPC is not generated and the project fails to build.
  • Firebase depends on a different grpc package, which seems to be the source of the problem.

Screenshot 2024-08-23 at 11 01 54 Screenshot 2024-08-23 at 10 51 55

How do we reproduce it?

  1. Use the attached sample project tuist-googlenearbyconnections.zip
  2. Run tuist install && tuist generate
  3. Try to build and see errors

To remove Firebase and successfully build:

  1. Edit Package.swift and comment out line 8
  2. Edit App/Project.swift and comment out lines 19 and 20

Error log

Screenshot 2024-08-23 at 10 51 49

macOS version

14.6.1

Tuist version

4.24.0

Xcode version

15.1

monchote avatar Aug 23 '24 09:08 monchote