-
Notifications
You must be signed in to change notification settings - Fork 273
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
Adding Firebase to Bazel project #1091
Comments
xcframeworks are currently not supported: |
@brentleyjones so Bazel can't read such path: if I put content from |
Can you put together a small example repo that reproduces this issue? |
This is possible now with the new
|
Hello, I have a Bazel iOS project and I need to add Firebase dependency.
Firebase provided as a zip with set of Xcode frameworks.
I'm trying to add it like this:
`
apple_static_framework_import(
name = "BoringSSLGRPC",
framework_imports = glob(["BoringSSL-GRPC.xcframework/ios-arm64_i386_x86_64-simulator/BoringSSL-GRPC.framework/**"]),
visibility = [
"//visibility:public",
],
)
apple_static_framework_import(
name = "FirebaseAnalytics",
framework_imports = glob(["FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/**"]),
visibility = ["//visibility:public"],
)`
Bazel generates Xcode project but error occurred when I build the project:
/var/tmp/_bazel_vchernyshov/8432bf40a9c3dc219067a8a2fb9ccda3/execroot/__main__/submodules/Pods/BoringSSL-GRPC.xcframework/ios-arm64_i386_x86_64-simulator/BoringSSL-GRPC.framework/Modules/module.modulemap:1:27: Skipping stray token
/var/tmp/_bazel_vchernyshov/8432bf40a9c3dc219067a8a2fb9ccda3/execroot/__main__/submodules/Pods/BoringSSL-GRPC.xcframework/ios-arm64_i386_x86_64-simulator/BoringSSL-GRPC.framework/Modules/module.modulemap:1:28: Expected '{' to start module 'BoringSSL'
Could say what I'm doing wrong?
The text was updated successfully, but these errors were encountered: