I have been copying lines similar to these and then pasting them into the 
Terminal.  Not sure about the details of these steps, but the app installs and 
runs.  The pkg file ends up in the Home folder.

// At the $ prompt (if the app is in the Documents folder)
xattr -cr "Documents/myApp.app"
codesign --force --deep -s "Mac Developer: My Name (mynumber)" -fvvvv 
codesign -dvvv "Documents/myApp.app"

// Move the app to Applications then Build a signed package (before running the 
app after signing it)
productbuild --component /Applications/myApp.app /Applications myApp.pkg --sign 
"Developer ID Installer: My Name (mynumber)"

Keith - CDI

> On Mar 21, 2019, at 6:52 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> Using v17
> I've added our Apple OSX signing certificate to a client's app built with
> 4D v17. It compiles and runs just fine.
> I've added the same certificate to another app, using the same version of
> 4D and the same compiler settings. However with this one, at the end of
> compilation, I get the message "Code signature failed".
> Any suggestions as to why it would work for one app but not for another? As
> far as I can see, the settings are identical.
> Pat
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com

Reply via email to