My procedure
Xcode project
*** Not yet available ***
Notarizing
The Xcode procedure is automatic but I can be also performed through shell commands. Note that there is an old and new procedure:
xcrun altool --notarize-app -t osx ...
xcrun notarytool submit ... <-- see TAS-Path
Preparing the notarized application bundle
<https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow#3087734>
The Intel FORTRAN compiler ifort is no longer integrated to Xcode. Thus the FORTRAN code must be compiled from the Terminal and the resulting binaries are added to the Xcode project.
The automated Xcode codesigning and notarization process does not handle those files without some help . We use a couple of shell scripts and the steps are as follows:
- FORTRAN Compiling:
/Users/afilhol/Development/Dev-fullprof/progcfml/Scripts/MacOS/make_fullprof_suite-64.sh
hardened FORTRAN binaries are stored in folder: xxxxxxx - Signing & hardening binaries
/Users/afilhol/Development/Dev-fullprof/FullProf4Mac-Xcode/FullProf_Suite-bin.sh
the file "FullProf_Suite.entitlements" is required
Number of signed files: 35 - Open the Xcode project
/Users/afilhol/Development/Dev-fullprof/FullProf4Mac-Xcode/FullProf4Mac/FullProf4Mac.xcodeproj - Update version & build number in the Xcode interface
- Run the following
Product/Archive
Distribute App
Developer ID
Upload
Distribution certificate: select "Developer ID application..."
Upload
Close
wait for Apple's notification
Click button "Export Notarized App"
Preparing a notarized DMG
- Prepare the DMG
Move the notaraized app to folder:
/Users/afilhol/Development/Dev-fullprof/FullProf4Mac-Xcode/FullProf_DMG/FullProf4Mac-Distri
Update the ReadMe.txt
Export to ReadMe.pdf - Create the DMG
/Users/afilhol/Development/Dev-fullprof/FullProf4Mac-Xcode/FullProf_DMG/DMG_FullProf4Mac.sh - Change its name
FullProf4Mac-install.dmg --> FullProf4Mac_vxxx.dmg - Notarize the DMG
/Users/afilhol/Development/Dev-fullprof/FullProf4Mac-Xcode/FullProf_DMG/DMG_notarization.sh
Distributing
Update of the FullProf web site: https://www.ill.eu/sites/fullprof/
- Start the VNP
- Go/Connect to server...
cifs://sernfs-apps/wwwothersites$/fullprof - Update files
downloads.html <-- + file size in bytes
old-macOS.html