Skip to content
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

Add validation for platform type attribute in apple_{,static}_xcframework rule #2313

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

thii
Copy link
Member

@thii thii commented Oct 30, 2023

The platform type attributes (ios, tvos,...) aren't mandatory, but
at least one of them has to be set. It wasn't clear in the documentation
that one of these is required, because there is another attribute
minimum_os_versions which also mentions platform types.

Previously not setting any of these led to an error in:

Error in link_multi_arch_static_library: unexpected empty key in split transition

which wasn't that much useful.

`apple_{,static}_xcframework` rule

The platform type attributes (`ios`, `tvos`,...) aren't mandatory, but
at least one of them has to be set. It wasn't clear in the documentation
that one of these is required, because there is another attribute
`minimum_os_versions` which also mentions platform types.

Previously not setting any of these led to an error in:

```
Error in link_multi_arch_static_library: unexpected empty key in split transition
```

which wasn't that much useful.
@thii thii marked this pull request as ready for review October 30, 2023 12:53
@thii thii merged commit 17f4203 into master Oct 30, 2023
3 checks passed
@thii thii deleted the t/add-validation-for-platform-type-attribute-in branch October 30, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants