Post

Replies

Boosts

Views

Activity

notarytool is giving me HTTP status error
I am using the xcrun notarytool submit --apple-id xxxxx@gmail.com --password xxxxx--team-id xxxxxx --output-format json --wait --no-progress /my/dmg/file to notarize my DMG file. But it always gives me back the error, Error: HTTP status code: 403. A required agreement is missing or has expired. This request requires an in-effect agreement that has not been signed or has expired. Ensure your team has signed the necessary legal agreements and that they are not expired. I did log in my developer account and found no place to sign any agreement. Actually in the morning when I logged in the developer account, it indeed pop up the agreement for me to sign and I did sign it. But now it seems I don't have any more agreements to sign. So, any ideas about what I should do?
3
0
754
Jan ’26
Problem with code signing
I have a Fortran program and I compiled it with gfortran, like what follows, gfortran -mmacosx-version-min=10.14.3 -ffixed-line-length-none -c ../main_tools/thermal_ellipsoid.f90 gfortran -o thermal_ellipsoid thermal_ellipsoid.o The compiled executable thermal_ellipsoid is working fine locally. However, when I tried to sign the executable using codesign, it was failing. Here follows is the command I used to sign the executable, codesign -f --timestamp -o runtime -v --sign 'Developer ID Application: XXXXX' thermal_ellipsoid and here is the error I got, ./thermal_ellipsoid dyld[45718]: Library not loaded: /usr/local/opt/gcc/lib/gcc/current/libgfortran.5.dylib Referenced from: <37A6CBC1-BFE9-31F0-B397-34A05BBA2B6C> /Users/y8z/Dev/RMCProfile/mac-gfortran/thermal_ellipsoid Reason: tried: '/usr/local/opt/gcc/lib/gcc/current/libgfortran.5.dylib' (code signature in <CF6596E0-B4AA-3AD2-9620-74B6FC158924> '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc/lib/gcc/current/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc/lib/gcc/current/libgfortran.5.dylib' (code signature in <CF6596E0-B4AA-3AD2-9620-74B6FC158924> '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache), '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' (code signature in <CF6596E0-B4AA-3AD2-9620-74B6FC158924> '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' (no such file), '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' (code signature in <CF6596E0-B4AA-3AD2-9620-74B6FC158924> '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache) [1] 45718 abort ./thermal_ellipsoid Is there anything wrong with my code signing?
1
0
839
Feb ’24
notarytool is giving me HTTP status error
I am using the xcrun notarytool submit --apple-id xxxxx@gmail.com --password xxxxx--team-id xxxxxx --output-format json --wait --no-progress /my/dmg/file to notarize my DMG file. But it always gives me back the error, Error: HTTP status code: 403. A required agreement is missing or has expired. This request requires an in-effect agreement that has not been signed or has expired. Ensure your team has signed the necessary legal agreements and that they are not expired. I did log in my developer account and found no place to sign any agreement. Actually in the morning when I logged in the developer account, it indeed pop up the agreement for me to sign and I did sign it. But now it seems I don't have any more agreements to sign. So, any ideas about what I should do?
Replies
3
Boosts
0
Views
754
Activity
Jan ’26
Problem with code signing
I have a Fortran program and I compiled it with gfortran, like what follows, gfortran -mmacosx-version-min=10.14.3 -ffixed-line-length-none -c ../main_tools/thermal_ellipsoid.f90 gfortran -o thermal_ellipsoid thermal_ellipsoid.o The compiled executable thermal_ellipsoid is working fine locally. However, when I tried to sign the executable using codesign, it was failing. Here follows is the command I used to sign the executable, codesign -f --timestamp -o runtime -v --sign 'Developer ID Application: XXXXX' thermal_ellipsoid and here is the error I got, ./thermal_ellipsoid dyld[45718]: Library not loaded: /usr/local/opt/gcc/lib/gcc/current/libgfortran.5.dylib Referenced from: <37A6CBC1-BFE9-31F0-B397-34A05BBA2B6C> /Users/y8z/Dev/RMCProfile/mac-gfortran/thermal_ellipsoid Reason: tried: '/usr/local/opt/gcc/lib/gcc/current/libgfortran.5.dylib' (code signature in <CF6596E0-B4AA-3AD2-9620-74B6FC158924> '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc/lib/gcc/current/libgfortran.5.dylib' (no such file), '/usr/local/opt/gcc/lib/gcc/current/libgfortran.5.dylib' (code signature in <CF6596E0-B4AA-3AD2-9620-74B6FC158924> '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache), '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' (code signature in <CF6596E0-B4AA-3AD2-9620-74B6FC158924> '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' (no such file), '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' (code signature in <CF6596E0-B4AA-3AD2-9620-74B6FC158924> '/usr/local/Cellar/gcc/13.2.0/lib/gcc/current/libgfortran.5.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache) [1] 45718 abort ./thermal_ellipsoid Is there anything wrong with my code signing?
Replies
1
Boosts
0
Views
839
Activity
Feb ’24