Brilliant, thank you Miyako!
Note that I needed to make one change to the code, in the method "code
sign":

Change

$infoPlistPath:=$applicationPath+Folder separator+\

"Contents"+Folder separator+"Info.plist"


to


$infoPlistPath:=$applicationPath+\

"Contents"+Folder separator+"Info.plist"

Pat

On Thu, 4 Apr 2019 at 01:32, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> the text edit setting "smart dashes" may convert double hyphens to dash,
> which is not what you want in this context.
>
> https://support.apple.com/kb/PH23628?locale=ja_JP&viewlocale=en_US
>
> a single hyphen must be used with a short option name (-f)
> a double hyphen must be used with a short option name (--force)
>
> -force is therefore an invalid instruction (single hyphen+long option
> name).
>
> I've posted a utility to ease the process of signing
>
> https://github.com/miyako/4d-utility-build-application
>
> it is written in v17 but the target app path can be any path.
>
> 2019/04/03 8:05、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com<mailto:
> 4d_tech@lists.4d.com>>のメール:
> —force: No such file or directory
>
>
> **********************************************************************
> 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
> **********************************************************************



-- 
*************************************************
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************
**********************************************************************
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