notarize

macOS: Notarize in Script?

这一生的挚爱 提交于 2020-03-18 03:35:03
问题 Because the codesigning and archiving by Xcode is time-consuming, boring and problematic, I've always codesigned, archived and shipped my Developer ID signed macOS app using the command-line tools xcodebuild , codesign , etc. via my own script. Notarizing looks like it is going to be a major pain. Is it possible to add notarizing to my script? 回答1: Yes. Unfortunately, the official answer leaves some loose ends, for example this important tidbit from Quinn "the Eskimo". Here is how to do it:

macOS: Notarize in Script?

喜欢而已 提交于 2020-03-18 03:34:40
问题 Because the codesigning and archiving by Xcode is time-consuming, boring and problematic, I've always codesigned, archived and shipped my Developer ID signed macOS app using the command-line tools xcodebuild , codesign , etc. via my own script. Notarizing looks like it is going to be a major pain. Is it possible to add notarizing to my script? 回答1: Yes. Unfortunately, the official answer leaves some loose ends, for example this important tidbit from Quinn "the Eskimo". Here is how to do it:

How to upload dmg file for notarization in xcode

元气小坏坏 提交于 2019-12-28 02:56:46
问题 I am trying to upload our existing app to apple for notarization. According to the document https://help.apple.com/xcode/mac/current/#/dev88332a81e I have to open the app the xcode archive organizer. We have a dmg file generated from our jenkins build server. How do I open the dmg file in xcode to upload? Also, is there some command line tool that I can use for the notarization? 回答1: You can do it from the command line. First you will need to extract the .app from your .dmg and resign it,

How to build MacOS app with hardened runtime in AppBundler

纵饮孤独 提交于 2019-12-13 03:18:46
问题 I am using AppBundler plugin in gradle to build my Java app. Now to have my app notarized, Apple requires the app to be built with 'hardened runtime' option. Does anyone know how to achieve this? 回答1: I added the following entitlements when signing my app and fixed the problem. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.security.cs.allow-jit</key>

macOS notarization error: “The signature algorithm used is too weak”

北城余情 提交于 2019-12-12 12:17:03
问题 I wonder if anyone's familiar with this error which only happens when I upload my apps to Apple for notarization: "AppName.zip/AppName.app/Contents/Resources/EWSMacCompress.tar.gz/EWSMacCompress.tar/EWSMac.framework/Versions/A/EWSMac83886082" "The signature algorithm used is too weak." Additional info: -I've been signing my apps for years with no issues. The error only happens when sending the apps for notarization. -I submitted a bug back in November 2018, provided Apple all the info they

How to notarize an app bundle containing helpers embedded in it?

孤者浪人 提交于 2019-12-11 17:15:38
问题 Does anyone know how to send a Mac application bundle containing embedded helper app bundles to be notarized by Apple? When I try to archive a simple application, everything goes smoothly. The app is archived properly, and I can upload the archive and my app gets notarized in a question of minutes. However, when I try to archive an app bundle containing helper app bundles in it, using script phases and try to automatically sign and notarize my application bundle via the normal, automatic

Notarizing electron app with electron-installer-dmg ( without electron-builder )

自闭症网瘾萝莉.ら 提交于 2019-12-11 16:14:11
问题 From macOS Catalina, it is compulsory to Notarize macOS apps. There are many guides avaiable but all are using electron-builder. Have anyone did this using electron-installer-dmg? I don't want to change my configurations but no luck till now using electron-installer-dmg. I could not figure out how to use electron-notarize package with electron-installer-dmg. 来源: https://stackoverflow.com/questions/58321290/notarizing-electron-app-with-electron-installer-dmg-without-electron-builder

How to upload dmg file for notarization in xcode

拟墨画扇 提交于 2019-11-28 01:12:01
I am trying to upload our existing app to apple for notarization. According to the document https://help.apple.com/xcode/mac/current/#/dev88332a81e I have to open the app the xcode archive organizer. We have a dmg file generated from our jenkins build server. How do I open the dmg file in xcode to upload? Also, is there some command line tool that I can use for the notarization? You can do it from the command line. First you will need to extract the .app from your .dmg and resign it, removing the com.apple.security.get-task-allow entitlement in the process (this is added automatically by the