rules_apple_line icon indicating copy to clipboard operation
rules_apple_line copied to clipboard

weak_sdk_framework not being passed?

Open bobbyphtr opened this issue 2 years ago • 0 comments

There is a requirement to add AdServices.framework but I need to include it as weak to support earlier devices without crashing them.

I added :

weak_sdk_frameworks = [
    "AdServices",
]

But somehow the framework is still not available on the newer devices (14.3+).

I found that your rules do not pass weak_sdk_frameworks into the native objc_library might cause this issue. The code here.

Since I'm still a beginner in Bazel, I would love to hear your thoughts if this is expected or not. I would love to create the pull request for you if correct.

Thanks!

bobbyphtr avatar Jul 23 '23 10:07 bobbyphtr