-
Notifications
You must be signed in to change notification settings - Fork 268
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
Support XCFramework Signatures #2420
Comments
It's still unknown if Apple is going to these However, I did some research and figured out how to create First, there is no public command line for generating these files directly. Xcode uses the private
Not surprisingly, I couldn't find public documentation on this file spec either. The best documentation is the WWDC23 session: https://developer.apple.com/videos/play/wwdc2023/10061/ explaining the 3 identity types:
Here is an example:
After playing around with https://gist.github.com/andre-alves/af8795e77b9d7cc533ddfd381022fa54 Pass the .xcframework as input, and it outputs the I tried to make it easy to integrate with rules_apple by using python and only importing the standard library (very similar to rules_apple's |
Also, seems to me a per-framework-signature only applies to dynamic frameworks. The binary of a static framework ends up as part of the main app binary, so there wont be a standalone binary/framework to be used for signature validation: I cannot think of a way to implement signature validation when linking statically. And the most common linkage in Bazel is static 😄 |
Xcode 15.3 generates |
Anyone able to add the signature tool to the existing |
upstream will add support for XCFramework Signatures 106a743 👀 |
Starting on May 1st, Apple will require that the frameworks on this list are signed (if they are distributed as binary).
I didn't find any documentation showing how this validation will be done by Apple, but I did a demo with Xcode + Lottie 4.4.1 (which is already being distributed with signature and privacy manifest).
There is a new directory
Signatures
inside the.ipa
that Xcode 15 creates:Seems likely that Apple will use this
Signatures
directory to validate frameworks in AppStoreConnect. If that's true, Bazel will need to support this directory to avoid blocking the upload of apps.I still haven't found how to generate this
.signature
file. I just know that it is a plist containing certificate data.My demo is available here: https://github.com/andre-alves/privacy_demo
The text was updated successfully, but these errors were encountered: