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

Now calling the xcodebuild -create-xcframework command with the -headers option #2181

Conversation

adil-hussain-84
Copy link
Contributor

Updated the make/framework.mk and scripts/gen_xcframework.sh files so that the xcodebuild -create-xcframework command is called with the -headers option. Fixes #2180.

…s so that the `xcodebuild -create-xcframework` command is called with the `-headers` option.
@mungler
Copy link

mungler commented Sep 19, 2023

Nice work @adil-hussain-84 - this does indeed produce valid XCFramework artefacts which seem to comply with Apple's specification. The /usr/bin/codesign tool is still happy that its a valid framework, and thus Xcode 15 will compile projects using the framework without issue.

👍 for merge

@mungler
Copy link

mungler commented Sep 19, 2023

@tomball FYI I have approved this PR but still see the message "At least 1 approving review is required by reviewers with write access." - does someone else need to approve, or will this be picked up automatically?

Copy link
Collaborator

@tomball tomball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clear comments describing what's done in this PR. No need to guess!

@tomball
Copy link
Collaborator

tomball commented Sep 19, 2023 via email

@copybara-service copybara-service bot merged commit 0273fba into google:master Sep 19, 2023
1 check passed
@mungler
Copy link

mungler commented Sep 19, 2023

Haha sounds good @tomball 👌

@tomball
Copy link
Collaborator

tomball commented Sep 19, 2023

Copybara is our repo-syncing service. We're good here, and thanks to you both for your contribution and help!

@mungler
Copy link

mungler commented Sep 19, 2023

I did very little other than try out @adil-hussain-84 ’s changes, but you’re most welcome 👌

@adil-hussain-84
Copy link
Contributor Author

adil-hussain-84 commented Sep 20, 2023

@tomball @mungler: Thank you both for reviewing, approving and merging 👍👍 Sadly, it's looking like this not the last pull request from me related to XCFrameworks 😭 A number of the XCFrameworks that are being built have the same module name (i.e. JRE) in their module.modulemap file. The implication of this is that two modules with the same cannot be linked into the same target. I see that there is an open Issue and Pull Request related to this already. I'll post in there and draw attention to it.

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.

Headers information is missing from the XCFrameworks' "Info.plist" files
3 participants