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

Xcode 10 notarization error about Hardened Runtime for Autoupdate.app and fileop #1297

Closed
m41w4r3exe opened this issue Oct 17, 2018 · 2 comments

Comments

@m41w4r3exe
Copy link

As Apple introduced new notarization process for apps distributing outside of Mac App Store, I am getting this error when I try to submit my application for notarization, which has Sparkle framework installed via CocoaPods.

screen shot 2018-10-16 at 11 45 15

The error was first encountered for all bundles included in my app (helper app and other frameworks), however they all went away except these two mentioned bundles of Sparkle, after I enable Hardened Runtime with exceptions shown below through Project editor.

screen shot 2018-10-16 at 13 05 25

I am not well informed about the guidelines of this new notarization, as it just went out and I have already seen WWDC 2018 presentation about it but could not find any other documentation.

Any ideas how to enable hardened runtime for Sparkle's Autoupdate.app and fileop? Or is it just impossible for Sparkle like enabling sandbox, as the auto update procedure requires access to other apps?

@kornelski
Copy link
Member

I haven't tried it myself yet, but some people managed to get it working in #1266

@adib
Copy link

adib commented Aug 20, 2019

You can re-sign the Sparkle auto-updater app and apply hardened runtime to it in the process:

codesign --verbose --force --deep -o runtime \
--sign "${EXPANDED_CODE_SIGN_IDENTITY_NAME}" \
"${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/AutoUpdate.app"

I've written a post on this issue, having encountered the problem myself.

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

No branches or pull requests

3 participants