Codesign illegal instruction 4

I recently updated to MacOS 10.14 and have a problem now manually codesigning an Adobe Air app for outside App Store release.

Everything in my bash script still executes just fine, except the lines where I codesign.

Code Block
codesign -f -v -s "Developer ID Application: <xxx>" Myapp.app/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0/Adobe\ AIR_64

results in
Code Block
Illegal instruction: 4


What could the cause for this problem be? Are there ways to get details of that error?

Thanks,
Chris

Codesign illegal instruction 4
 
 
Q