notarize-app | Linear notarize and staple for build tools

 by   rednoah Shell Version: Current License: Unlicense

kandi X-RAY | notarize-app Summary

kandi X-RAY | notarize-app Summary

notarize-app is a Shell library. notarize-app has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Linear notarize and staple for build tools
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              notarize-app has a low active ecosystem.
              It has 12 star(s) with 3 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 3 have been closed. On average issues are closed in 10 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of notarize-app is current.

            kandi-Quality Quality

              notarize-app has no bugs reported.

            kandi-Security Security

              notarize-app has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              notarize-app is licensed under the Unlicense License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              notarize-app releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of notarize-app
            Get all kandi verified functions for this library.

            notarize-app Key Features

            No Key Features are available at this moment for notarize-app.

            notarize-app Examples and Code Snippets

            No Code Snippets are available at this moment for notarize-app.

            Community Discussions

            QUESTION

            How properly add MacOS Signature & Notarization to .app built with Qt
            Asked 2020-May-29 at 12:24

            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:

            1. Ran QMake / Build in Qt Creator.

            2. Modified the CFBundleIdentifier key in the generated Info.plist file to be com.myCompanyName.appName instead of com.yourcompany.appName as generated by Qt.

            3. cd to my build dir.

            4. Ran macdeployqt:
              /Users//Qt/5.13.0/clang_64/bin/macdeployqt .app -qmldir=.

            5. 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).

            6. Verified that the signature:
              codesign -dv --verbose=4 .app
              Returns:

              ...

            ANSWER

            Answered 2020-May-29 at 12:24

            The 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:

            Source https://stackoverflow.com/questions/62052475

            QUESTION

            Notarizing Electron apps throws - "You must first sign the relevant contracts online. (1048)" error
            Asked 2020-Apr-05 at 20:37

            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:37

            TLDR: 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/#

            Source https://stackoverflow.com/questions/58358449

            QUESTION

            How to download notarized files from Apple?
            Asked 2019-Nov-14 at 08:36

            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:21

            You 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

            [...]

            1. Upload your software to the Apple notary service, as described in Upload Your App to the Notarization Service.

            You've already done this step.

            1. 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.

            Source https://stackoverflow.com/questions/58817903

            QUESTION

            MacOS Notarization on command line unable to create authentication session
            Asked 2019-Oct-28 at 10:35

            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:19

            couple 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)

            Source https://stackoverflow.com/questions/58586848

            QUESTION

            MacOS notarization on command line returning 'unsupported url' when getting status
            Asked 2019-Oct-28 at 09:32

            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:05

            I'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.

            Source https://stackoverflow.com/questions/57412609

            QUESTION

            macOS App notarisation stuck during upload
            Asked 2019-Apr-26 at 12:50

            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:53

            If your firewall is blocking the port for transferring except HTTPS, following answers may help you.

            itunesconnect using application loader behind a firewall

            Upload iOS App to AppStore using port 443

            Source https://stackoverflow.com/questions/55764900

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install notarize-app

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/rednoah/notarize-app.git

          • CLI

            gh repo clone rednoah/notarize-app

          • sshUrl

            git@github.com:rednoah/notarize-app.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link