Re: Downloaded 4D app: structure file in read only mode

2018-08-05 Thread Donald Koffman via 4D_Tech
Thanks, Miyako. Yes, I know the structure file being read only is expected, 
just didn’t expect the warning, since it doesn’t occur when installing form a 
zipped file. 

> On Jul 29, 2018, at 8:36 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> is it not normal and expected that the structure file is read-only,
> if inside the application folder?
> 
> you can suppress the warning
> 
> http://doc.4d.com/4Dv17/4D/17/DatabaseData-storage-page.300-3743476.en.html
> 
> and you can configure the application to use a "default data" read-only 
> placeholder for startup
> and use a read-write data file outside the package (e.g. application support)
> 
> http://doc.4d.com/4Dv17/4D/17/Data-file-management-in-final-applications.300-3743577.en.html
> 
> basically, on Mac, you have 2 choices: install in /Applications as read-only 
> or install outside /Applications.
> 
> of course,
> read-only does not mean you can never alter the contents of the app.
> otherwise, you won't be able to edit backup.xml which is always inside the 
> application (for now).
> 
> but the app must launch read-only on its first run.
> 
> 2018/07/30 2:54、donkoff via 4D_Tech 
> <4d_tech@lists.4d.com>のメール:
> 
> When I use a zip file to transfer the app, it opens with normally, no "your
> structure file is in read only mode" confirm dialog.  I can use a zip
> approach, but I a concerned that Apple will block this approach in the
> future. The pckg approach should be better, but it seems not to work.
> 
> 
> 
> **
> 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
> **



Donald Koffman, Sc.D
DMK Concepts Inc.
Tel:  781-729-8384
Cell: 617-797-7514

**
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
**

Re: Problems installing built application

2018-07-29 Thread Donald Koffman via 4D_Tech
I uploaded the pckg via  dropbox then downloaded via web.

Did the same for zipped, file.  The unzipped app opened in the Applications 
folder opened with no warning. The app installed form the package triggered 
read only structure warning.   Same app, different installation approach. 


> On Jul 25, 2018, at 10:01 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> on this point,
> it is important to transfer the app from one computer to another via the 
> network (http, ftp, airdrop, etc.)
> in order to verify (other than spctl --assess or codesign --verify) the code 
> signature.
> 
> GateKeeper is guarding against downloaded apps.
> 
> if you use a USB or a removable hard drive to transfer,
> you might get the wrong impression that the signature is valid.
> 
> 2018/07/26 10:53、Donald Koffman via 4D_Tech 
> <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール:
> 
> I zipped it,
> transferred it to my original computer, unzipped it and moved the app to
> the Applications folder. It opened and is healthy.
> 
> 
> 
> **
> 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
> **



Donald Koffman, Sc.D
DMK Concepts Inc.
Tel:  781-729-8384
Cell: 617-797-7514

**
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
**

Re: Downloaded 4D app: structure file in read only mode

2018-07-29 Thread Donald Koffman via 4D_Tech
No the data file is not open. The message refers to the structure file, not
the data file. Does this indicate that it has been moved to a read only
location?

On Sat, Jul 28, 2018 at 11:19 PM Lloyd SIgler via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Do you have the data files open on another Machine?
>
> I will get that message if I am trying to open while the data files are
> already open on another machine.
>
> Lloyd
>
>
> > On Jul 28, 2018, at 7:41 PM, donkoff via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > HI All,
> > After successfully building and packaging a signed app (verified),opening
> > the package installed in in High Sierra.
> >
> > When I launch it, a confirm Dialog asking "Are you sure you want to open
> the
> > structure file in red only mode."
> > Yes, opens it and it seems fine.
> >
> > The structure file is compiled so read only mode seems appropriate. Why
> the
> > Confirm?
> > Thanks,
> > Don
> >
> >
> >
> > --
> > Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> > **
> > 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
> > **
>
> **
> 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
> **
**
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
**

Re: Problems installing built application

2018-07-25 Thread Donald Koffman via 4D_Tech
Working with tech support, the issue is resolved.
I was able to perform the build on another computer, so It looks like
that’s the problem with the failed attempts to code sign some frameworks.
Also, it was important to not launch the built app . I zipped it,
transferred it to my original computer, unzipped it and moved the app to
the Applications folder. It opened and is healthy.
Thanks for all the helpful comments - they  put me on the right path.

On Mon, Jul 23, 2018 at 2:34 PM Donald Koffman via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I am using an Apple supplied Developer ID installed in my keychain via
> Xcode.  I reinstalled it and made sure it had the default setting (not
> trust) which got rid of the not self signed problem.
> I then used the approach outlining the code that uses the shell script in
> the 4D app bundle (sign app.sh) and LEP to code sign.
> It still fails, but now I can examine stdout and stderr to uncover the
> details.
> The shell script tries to sign all the sub components (up to 3 times) and
> fails on the following frameworks:
> 4DJavaScriptSystem. framework
> 4DJavaScriptCore.framework
> Three attempts each.
> This results in the code sign failure of the app.
> I then removed the 2 frameworks and ran my method again. This time all the
> Frameworks succeeded in code signing but the app itself still failed.
>
> At this point, I am at a loss to continue. Any ideas?
>
>
>
> Sent from my iPhone
>
> > On Jul 23, 2018, at 11:06 AM, Timothy Penner via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Are you using an apple provided certificate?  The error mentions self
> signed...
> >
> > -Tim
> >
> >
> >
> > -Tim
> > (sent from mobile)
> >
> >
> >
> > On Jul 22, 2018 2:21 PM, donkoff via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> > Thanks for the reply.
> >
> > I tried what you provided.
> > I get the following repeated many times: Warning: unable to build chain
> to
> > self-signed root for signer "Developer ID Application: 
> >
> > then when I try to verify I get
> > /Users/donaldk/Desktop/FCAT folder/FCAT_Build/Final Application/FCAT.app:
> > CSSMERR_TP_NOT_TRUSTED
> >
> > so no luck yet.
> >
> >
> >
> >
> > --
> > Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> > **
> > 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
> > **
> > **
> > 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
> > **
>
> **
> 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
> **
**
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
**

Re: Problems installing built application

2018-07-23 Thread Donald Koffman via 4D_Tech
I am using an Apple supplied Developer ID installed in my keychain via Xcode.  
I reinstalled it and made sure it had the default setting (not trust) which got 
rid of the not self signed problem.
I then used the approach outlining the code that uses the shell script in the 
4D app bundle (sign app.sh) and LEP to code sign.
It still fails, but now I can examine stdout and stderr to uncover the details.
The shell script tries to sign all the sub components (up to 3 times) and fails 
on the following frameworks:
4DJavaScriptSystem. framework
4DJavaScriptCore.framework
Three attempts each.
This results in the code sign failure of the app.
I then removed the 2 frameworks and ran my method again. This time all the
Frameworks succeeded in code signing but the app itself still failed.

At this point, I am at a loss to continue. Any ideas?



Sent from my iPhone

> On Jul 23, 2018, at 11:06 AM, Timothy Penner via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Are you using an apple provided certificate?  The error mentions self 
> signed...
> 
> -Tim
> 
> 
> 
> -Tim
> (sent from mobile)
> 
> 
> 
> On Jul 22, 2018 2:21 PM, donkoff via 4D_Tech <4d_tech@lists.4d.com> wrote:
> Thanks for the reply.
> 
> I tried what you provided.
> I get the following repeated many times: Warning: unable to build chain to
> self-signed root for signer "Developer ID Application: 
> 
> then when I try to verify I get
> /Users/donaldk/Desktop/FCAT folder/FCAT_Build/Final Application/FCAT.app:
> CSSMERR_TP_NOT_TRUSTED
> 
> so no luck yet.
> 
> 
> 
> 
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 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
> **
> **
> 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
> **

**
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
**

Re: Strange bug in listbox sort in compiled mode.

2017-02-13 Thread Donald Koffman via 4D_Tech
Try replacing Self with a pointer to the variable and recompile.

> On Feb 13, 2017, at 5:40 PM, Eric Naujock via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> 
> I am taring to get my listbox code to compile and owkr properly. In 
> interpreted mode it works great and no errors are generated. But if i Compile 
> it the code fails telling my that I have an illegal index. It seems like the 
> Find In Array function fails with a -1 result when I am compiled, but when I 
> cam interpreted it works great. Is there a straightforward way to debug this 
> in compiled mode? Or is there some fundamental quirk in compiled mode that I 
> am missing. This code exists in my on after sort event.
> 
> 
> This is the code I am using.
> 
> in the setup code I have OrderDirection defined as c_Boolean, and 
> ColumnHeaderVars is an Array Pointer defined by the following.
> 
> LISTBOX GET 
> ARRAYS(Self->;ColumnNames;ColumnHeaders;ColumnVars;ColumnHeaderVars;ColumnVisible;ColumnStyles)
> 
> $oldColHeader is defined as a c_Longint
> 
> 
> ColumnHeaderVars:=Find in array(ColumnHeaderVars;Self)
> $oldColHeader:=Find in array(ColumnHeaderVars;ColumnHeaderVars{0})
> If ($oldColHeader=-1)
> $oldColHeader:=2
> End if
> ColumnHeaderVars{0}:=ColumnHeaderVars{ColumnHeaderVars}
> If (ColumnHeaderVars=$oldColHeader)
> If (OrderDirection=False)
> ColumnHeaderVars{ColumnHeaderVars}->:=2
> OrderDirection:=True
> Else 
> ColumnHeaderVars{ColumnHeaderVars}->:=1
> OrderDirection:=False
> End if 
> Else 
> ColumnHeaderVars{ColumnHeaderVars}->:=2
> ColumnHeaderVars{$oldColHeader}->:=0
> OrderDirection:=True
> End if 
> 
> 
> ---
> 
> MacCafe
> 4405 Talmadge  St.
> Toledo, OH 43623
> Eric Naujock  -  ACSA 10.2, 10.3, 10.4 Apple - ACTC 10.5, 10.6, 10.7, 10.8, 
> 10.9, 10.10
> http://www.mac-cafe.com
> email: e r...@mac-cafe.com 
> 
> AOL IM: erlic
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**