Hi, I'm trying to use https://cocoapods.org/pods/ComScore, the pod is installed successfully but when I try to use it as a dependency, it fails when building:
ERROR: Vendor/ComScore/BUILD.bazel:306:30: in apple_static_framework_import rule //Vendor/ComScore:Dynamic_VendoredFrameworks:
Traceback (most recent call last):
File "/private/var/tmp/_bazel_mario/5305db3be187c80548e71a802cd37527/external/build_bazel_rules_apple/apple/internal/apple_framework_import.bzl", line 394, column 48, in _apple_static_framework_import_impl
framework_groups = _grouped_framework_files(framework_imports)
File "/private/var/tmp/_bazel_mario/5305db3be187c80548e71a802cd37527/external/build_bazel_rules_apple/apple/internal/apple_framework_import.bzl", line 158, column 48, in _grouped_framework_files
framework_groups = group_files_by_directory(
File "/private/var/tmp/_bazel_mario/5305db3be187c80548e71a802cd37527/external/build_bazel_rules_apple/apple/utils.bzl", line 117, column 13, in group_files_by_directory
fail("Expected only files inside directories named with the extensions " +
Error in fail: Expected only files inside directories named with the extensions ["framework"], but found: [
Vendor/ComScore/ComScore/dynamic/ComScore.xcframework/Info.plist
] framework_imports
Taking a look at the error it fails in the following:
Hi, I'm trying to use https://cocoapods.org/pods/ComScore, the pod is installed successfully but when I try to use it as a dependency, it fails when building:
Taking a look at the error it fails in the following:
The folder structure is as follows:
I can fix it if I set the
framework_imports
asComScore/dynamic/ComScore.xcframework/*/*.framework/**
.Here is the
new_pod_repository
that I'm using: