-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix: MacOS Frameworks not signed, closes #7690 and #7710 #7691
Conversation
So this morning, I came in to build my app, and it failed signing... So I'm looking into this further, I've also submitted a support ticket with Apple to get more clarity |
Linking in this article, looks like Apple codesign can fail if extra attributes exist on files inside the bundle.... Wondering if we should add the command to remove all extra attributes on the app bundle before signing? |
Added a function to strip extra attributes and it seems to have fixed an error I saw this morning |
FROM APPLE When embedding frameworks there are two important things to note:
|
So in testing, I think this is actually all good to go for now. I think we need to ultimately address assigning specific entitlement.plist files to each included binary in the app, both sidecar and frameworks. Apple recommends not using the same plist file for everything as it could break stuff. We should probably also look at removing the --deep argument on the codesign tool in the future and manually signing stuff |
@FabianLars if this pull request gets approved, we'll need to add APPLE_TEAM_ID as an argument to the GitHub action once its released, since it seems like notarytool requires it now. |
@FabianLars I've added signing for sidecar binaries, but I haven't been able to fully test it as I don't have a sidecar project setup. I've also removed --deep in this latest commit |
@tr3ysmith I see you added a fix for 3 separate issues in this PR (and you also added a breaking change with the Thank you ❤️ |
From my tests the team id isn't required. We also already merged notarytool usage into 1.x. |
@lucasfernog ah sounds good, so I can adjust this to allow team id but not require it. I'll close this PR and open 3 separate ones. |
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___
)Other information