bazelbuild / bazelbuild/rules_apple

framework import by apple_static_framework_import crashed after update bazel from 5.4.1 to 6.5.0

Open
#2,429 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
593
Forks
334
Avg merge
16h 48m
Merged PRs (30d)
9

Description

recently we've tryed to update bazel from 5.4.1 to 6.5.0,
after update , framework import by "apple_static_framework_import" crashed with "Fatal error NSArray element failed to match the Swift Array Element type" like the url below:
https://stackoverflow.com/questions/55557243/fatal-error-nsarray-element-failed-to-match-the-swift-array-element-type-after-x

Any ideas why it wont happen on bazel 5.4.1 ?

Contributor guide

Open the contributing guide

Research direction

Start at the apple_static_framework_import entry point and reproduce the crash with Bazel 6.5.0, comparing it with 5.4.1. The issue mentions no files or tests; done means establishing the cause of the version-specific Swift array-type failure and verifying a resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.