notarize-app | Linear notarize and staple for build tools
kandi X-RAY | notarize-app Summary
kandi X-RAY | notarize-app Summary
Linear notarize and staple for build tools
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of notarize-app
notarize-app Key Features
notarize-app Examples and Code Snippets
Community Discussions
Trending Discussions on notarize-app
QUESTION
I have an application (built with Qt / QML) that I am trying to sign and notarize for Ad hoc distribution outside the App Store (it's for internal company use). Apple confirms that my software has been notarized, and I then staple my .app - but Gatekeeper still stops the application from running and alerts users:
App Name can’t be opened because Apple cannot check it for malicious software.
What am I doing wrong?.
Here are the steps that I am following:
Ran QMake / Build in Qt Creator.
Modified the CFBundleIdentifier key in the generated Info.plist file to be com.myCompanyName.appName instead of com.yourcompany.appName as generated by Qt.
cd
to my build dir.Ran macdeployqt:
/Users//Qt/5.13.0/clang_64/bin/macdeployqt .app -qmldir=
.Code Sign:
codesign --deep -f -s "Developer ID Application: ()" --options "runtime" ".app/"
(Where the developer id application is the name as it appears in KeychainAccess).Verified that the signature:
...
codesign -dv --verbose=4 .app
Returns:
ANSWER
Answered 2020-May-29 at 12:24The problem is that since you are distributing using a .dmg you need to notarize the .dmg as well. Please follow these steps:
1) Add your notarized and stapled app to the .dmg.
2) Notarize your .dmg file.
3) Staple the notarization to the .dmg file.
You can use the following bash script I created which allows you to create a notarization request, check notarization request staus and staple notarization:
QUESTION
I am trying to Notarize an electron app to make it run on macOS Catalina. The packaging was successful but the xcrun altool
command is throwing "You must first sign the relevant contracts online. (1048)" error.
Electron app package.json contents:
...ANSWER
Answered 2020-Apr-05 at 20:37TLDR: check your developer.apple.com account has admin permissions for your organization and go to https://appstoreconnect.apple.com/ to accept the legal docs.
I also got the error "Error: You must first sign the relevant contracts online. (1048)".
Navigating to developer.apple.com memberships or anything else didn’t reveal prompt. It turned out, my Apple developer account had no "admin" rights within our organization and I could not see the legal prompts, but there was no indication of this.
After a team member with admin access navigated to https://appstoreconnect.apple.com/ there was a pending agreement that had to be accepted and the error went away.
UPD. Comments suggested that the agreements could also be directly reviewed at https://appstoreconnect.apple.com/agreements/#
QUESTION
I have successfully notarized a plugin via command line for a Mac application i'm developing plugins for. This plugin is intended for distribution outside of Mac appstore.
...ANSWER
Answered 2019-Nov-12 at 23:21You don't download your plugin.zip from Apple - just work with the same archive you originally uploaded to them. You are the one that actually staples the notarization ticket to whatever you are notarizing.
I haven't tried it myself with a .zip, but this is the process pieced together from the documentation.
Notarizing Your App Before Distribution says:
Notarize Your Preexisting Software
[...]
- Upload your software to the Apple notary service, as described in Upload Your App to the Notarization Service.
You've already done this step.
- Staple the returned ticket to your existing software, as described in Staple the Ticket to Your Distribution.
You have to attach the notarization ticket to whatever you're distributing, so Gatekeeper can find it even without a network connection. Normally you use the stapler
tool to do this:
xcrun stapler staple MyApp.app
However, stapler doesn't support zip files. Customizing the Notarization Workflow says:
While you can notarize a ZIP archive, you can’t staple to it directly. Instead, run stapler against each individual item that you originally added to the archive. Then create a new ZIP file containing the stapled items for distribution.
So; expand your .zip and run stapler staple {filename}
against each item contained inside. Then create a new .zip archive of the stapled contents.
QUESTION
Unable to validate your application. We are unable to create an authentication session
MacOS notarization on command line returning 'unsupported url' when getting status
...ANSWER
Answered 2019-Oct-28 at 10:19couple of things need to be done.
1) manage app specific password(https://appleid.apple.com/account/manage) https://github.com/expo/expo-cli/issues/927
2) try to type all commands manually so that command line should not have escape character(before I tried to copy paste commands)
QUESTION
The issue is when getting the notarization status after uploading a request
It's like this, I've got an older kernel extension, with the latest mac update notarizing it will be required and I'm trying to get this done in an automated way (command line).
First thing I wanted to do was see if I could get anything to upload and get any status back.
So after building the kext in xcode, I used ditto to create the archive that needs to be sent to apple:
...ANSWER
Answered 2019-Aug-09 at 10:05I've seen this error before, I forget what exactly caused it, but it definitely would have been a mistake in the way I submitted the command. Unfortunately, altool
does not appear to have been written with user-friendliness in mind and does not seem to do much in the way of command line validation.
With that in mind, taking a closer look at your command lines, I notice:
- It should be
--asc-provider
, not-asc-provider
. Two hyphens, not one. - The
--notarization-info
sub-command actually does not need the--asc-provider
option as the UUID is unambiguous for identifying the notarisation transaction you're after.
Tips for anyone finding this answer after a web search for this error message:
- Compare
xcrun altool --help
with your actual command. Check number of hyphens, and make sure the command you're running requires or supports the arguments you are passing. - Check that all strings (user name, provider, bundle IDs, password (I strongly recommend the keychain provider over providing the literal password on the command line!), etc.) are correctly escaped and surrounded by quotes for good measure.
QUESTION
I have a simple, Swift based, macOS application, written & maintained in Xcode, that I now want to run through Apple's Developer-ID "notarisation" service for distribution. However, whenever I try to upload an archived build of the application, Xcode gets stuck at the "Uploading package to Apple Services..."
step of the process.
My process is as follows:
- In Xcode "Build --> Archive"
- In Xcode's Organizer: Distribute App --> Developer ID --> Upload --> Automatic Code Signing
- The issue now occurs during upload.
I have already tried notarising a simple sample-app with no code beyond what the standard Swift macOS project template includes and that app also gets stuck at this step. (So this should eliminate issues with the Code / binary of my project itself.)
I have also attempted to use xcrun altool
to upload my binary to the notarisation service using the command: xcrun altool --notarize-app --primary-bundle-id "com.me.myapp" --username "myuser@memyselfandi" --password "mypasswd" --file myfile.zip
.
The result here is similar: The command gives no output and hangs.
Every time I attempt an upload to Apple Services I also notice that a process called ascp
is uploading rather large amounts of data, many multiples of the size of the archive I'm attempting to upload to Apple. I'm not 100% certain of how this might be related, but the process always appears when uploading through Organizer or the xcrun altool
command.
I'm using Xcode 10.2.1 and macOS Mojave 10.14.4.
...ANSWER
Answered 2019-Apr-26 at 04:53If your firewall is blocking the port for transferring except HTTPS, following answers may help you.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install notarize-app
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page