Actually it doesn't seem to be working ... it seems to corrupt the app in some way. It's quite bizarre ... I compile the app, sign it using Miyako's code, and create a disk image using DropDMG. I check it by mounting the disk image and installing the app. It runs OK. Then I upload it to DropBox. Download it from Dropbox, open it, install it, and it will not run. The app starts to open and then I get the message "CatBase 8 is damaged and can't be opened."
Any ideas? On Thu, 4 Apr 2019 at 11:52, Pat Bensky <[email protected]> wrote: > 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 < > [email protected]> 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 <[email protected]<mailto: >> [email protected]>>のメール: >> —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:[email protected] >> ********************************************************************** > > > > -- > ************************************************* > CatBase - Top Dog in Data Publishing > tel: +44 (0) 207 118 7889 > w: http://www.catbase.com > skype: pat.bensky > ************************************************* > -- ************************************************* 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:[email protected] **********************************************************************

