print

My procedure

Xcode project

*** Not yet available ***

See "Xcode project with auxiliary binary"

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:

  1. FORTRAN Compiling:
       /Users/afilhol/Development/Dev-fullprof/progcfml/Scripts/MacOS/make_fullprof_suite-64.sh
     hardened FORTRAN binaries are stored in folder: xxxxxxx
  2. 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
  3. Open the Xcode project
       /Users/afilhol/Development/Dev-fullprof/FullProf4Mac-Xcode/FullProf4Mac/FullProf4Mac.xcodeproj
  4. Update version & build number in the Xcode interface
  5. 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

  1. 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
  2. Create the DMG
           /Users/afilhol/Development/Dev-fullprof/FullProf4Mac-Xcode/FullProf_DMG/DMG_FullProf4Mac.sh
  3. Change its name
           FullProf4Mac-install.dmg  -->  FullProf4Mac_vxxx.dmg
  4. 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/

  1. Start the VNP
  2. Go/Connect to server...
          cifs://sernfs-apps/wwwothersites$/fullprof
  3. Update files
          downloads.html   <-- + file size in bytes
          old-macOS.html

Home - First - Next - Back​​​​​​​