Re: Customizing the Notarization Workflow fails

2020-04-25 Thread Jerome Krinock via Cocoa-dev
After similar frustration with Xcode’s notarization, I scripted notarization using command-line tools, integrating it into my existing build/archive/codesign/ship script. This post explains how to script the notarization, and in the last answer someone open-sourced their script: https://stack

Re: Customizing the Notarization Workflow fails

2020-04-25 Thread John Joyce via Cocoa-dev
The life hack for this is to have a Run Script Build Phase that just lists out the build variables and their values. Then you look them up in the help menu to confirm what they mean. > On Apr 26, 2020, at 10:29, Jack Brindle via Cocoa-dev > wrote: > > Before someone reminds me, be sure to u

Re: Customizing the Notarization Workflow fails

2020-04-25 Thread Jack Brindle via Cocoa-dev
Before someone reminds me, be sure to use the Xcode global variables for all this work. You will find the build directory in one of the variables (it’s Saturday - I don’t remember right now, so I hope someone bales me out again). You can then use that var in the Notarization script to get your fi

Re: Customizing the Notarization Workflow fails

2020-04-25 Thread Jack Brindle via Cocoa-dev
It seems like it would be easier to find the Build directory’s releases folder and the find the built product somewhere inside. It’s relation to the Build directory won’t change from build to build. Once you find that, just Notarize it in place. You need to make sure that it is already code/prod

Re: Customizing the Notarization Workflow fails

2020-04-25 Thread Gabriel Zachmann via Cocoa-dev
Thanks a lot for your response. > I’m not sure how you would script the export, but if you go to menu option > Window -> Organizer, you can see your archives. Yes, I can see them. But when I do "Show in Finder", then "Show package contents", they contain nothing (except for an empty Products f

Re: Customizing the Notarization Workflow fails

2020-04-25 Thread James Crate via Cocoa-dev
On Apr 25, 2020, at 10:12 AM, Gabriel Zachmann via Cocoa-dev wrote: > > I am trying to follow these instructions: > > https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow?language=objc > > However, I can't even ach

Customizing the Notarization Workflow fails

2020-04-25 Thread Gabriel Zachmann via Cocoa-dev
I am trying to follow these instructions: https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow?language=objc However, I can't even achieve the first step ("Export a Package for Notarization"). As per the instruction

Notarization: basic questions

2020-04-25 Thread Gabriel Zachmann via Cocoa-dev
This whole notarization business is still pretty new to me. I would like to notarize my screen saver, and distribute it outside the app store. I tried to read up on it as much as I can, but I still have a few very basic questions. As far as I understand, I need to enroll in the apple developer