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

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

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

Re: Problems installing built application

2018-07-23 Thread Timothy Penner via 4D_Tech
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

Re: Problems installing built application

2018-07-22 Thread donkoff via 4D_Tech
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:

Re: Problems installing built application

2018-07-22 Thread Jeremy French via 4D_Tech
Hi Don, Have you tried the following? In 4D, build the merged app. But do not use the signed application option. That is, leave the check box "signed application" unchecked. After the merge app is built, perform signing in Terminal. Replace with pertinent information the following place

RE: Problems installing built application

2018-07-21 Thread donkoff via 4D_Tech
I hope that you have resolved this issue because I have the same problem trying to create a standalone app in 4D 16.3. I have no problem creating it on a PC, but I am experiencing the Code Signature Failed message on the Mac running OS 10.13.6 (High Sierra). The Log shows OK for each step but

Re: Problems installing built application

2018-02-06 Thread Bernd Fröhlich via 4D_Tech
macjimbo: > Is there no way to get a built application to remember the location of the > data file between application upgrades? Have a look at 4D-link files. Basically you store information about the datafile and program in the link-file and the user just doubleklicks the link file. I don´t

Re: Problems installing built application

2018-02-06 Thread macjimbo via 4D_Tech
Thanks for your replies on this. Am I correct in saying that 4D v15 still doesn't allow the setting of a path relative to the user's home folder? ie "~/folder/application.4dd" If that's the case, I'm still no further forward :-( My plan is for each user to have their own copy of the data file

RE: Problems installing built application

2018-02-05 Thread Timothy Penner via 4D_Tech
> I'm not on v16 yet. Does this not work in v15? The tech tip says it works > from 15.4. The tech tip says v15R4 (not v15.4). This means it is a feature of v16 and it was first made available in v15R4. However, the feature is not available in v15.x Here is more information on that feature:

Re: Problems installing built application

2018-02-05 Thread Spencer Hinsdale via 4D_Tech
oh, okay you can use Default Data File feature in XML Build Keys, store last file opened in your own text file, test the data file opened and if it is default look for text file and use Open Data File. there is some trick like calling in a new process maybe... > On Feb 5, 2018, at 3:36 PM,

Re: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
I'm not on v16 yet. Does this not work in v15? The tech tip says it works from 15.4. Is there no way to get a built application to remember the location of the data file between application upgrades? cheers James -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html

Re: Problems installing built application

2018-02-05 Thread Spencer Hinsdale via 4D_Tech
v16, database prefs, New Architecture anything else? :) > On Feb 5, 2018, at 3:36 PM, macjimbo via 4D_Tech <4d_tech@lists.4d.com> wrote: > > that works until I install an upgrade. ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
OK great, thank you. That worked. So now I can install my app successfully inside the /Applications folder and not get permission errors or crashes. Next problem - it won't save the location of the 4D Data file between installations. The first time I launch, I show it where the data file is

Re: Problems installing built application

2018-02-05 Thread Spencer Hinsdale via 4D_Tech
Well, if you go back to PackageMaker you can build an Installer that is signed with your Developer ID Installer And in Package, Contents you can go to Scripts, Postinstall and add a script with contents like: #!/bin/sh chmod -R 777 '/Applications/MyAppFolder' > On Feb 5, 2018, at 11:46 AM,

RE: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
OK so the answer to "does Dropbox add extended attributes" was obviously a resounding "yes". So I copied my structure, plug-ins and components into my local user folder, ditched the extended attributes using "xattr -cr " and re-built. Then I ran "xattr -lr " to see what I was left with. I got

RE: Problems installing built application

2018-02-05 Thread Timothy Penner via 4D_Tech
Maybe... Why not try removing it and see if it makes a difference? -Tim ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options:

RE: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
Hi Tim, many thanks for this. Does the same go for Dropbox? As that's where I store my structure file… cheers James -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ** 4D Internet Users Group (4D iNUG)

RE: Problems installing built application

2018-02-05 Thread Timothy Penner via 4D_Tech
> However, I have no idea how to prevent 4D from adding such detritus to the > built app! It's not 4D adding it - it already exists in your source files; check your structure file, your plugins, components, even the installed copy of 4D that you are building against, etc. Use the xattr command

RE: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
Thanks Tim This got me further down the line, I now know that the problem is "resource fork, Finder information, or similar detritus not allowed" However, I have no idea how to prevent 4D from adding such detritus to the built app! Following the link in the tech note, I executed "xattr -cr "

RE: Problems installing built application

2018-02-05 Thread Timothy Penner via 4D_Tech
> However, I cannot get the app to build. Whichever certificate I specify, it > spends a long time at the ‘signing application’ stage and then tells me “Code > signature failed". Tech Tip: What to do when code signing fails? http://kb.4d.com/assetid=77853 -Tim

Re: Problems installing built application

2018-02-05 Thread James Knight via 4D_Tech
Sorry for the delay responding to your suggestion, Tim. I tried adding that to my code but the app doesn’t even get as far as outputting anything, it just crashes on launch (at the moment). So I have investigated the whole code signing thing. I tried with a self-signed certificate and then

RE: Problems installing built application

2018-01-31 Thread Timothy Penner via 4D_Tech
> I will experiment with signing BUT I really don't think this is the issue A quick test to see if your application is in a Translocated (Read-Only) quarantine is to run the following code: ALERT(APPLICATION FILE) Then check the output. If the Path is correct and matches where the application

Re: Problems installing built application

2018-01-31 Thread John DeSoi via 4D_Tech
You can do this with the default data file. The new model allows you to startup your app and then switch to another database without showing the open database dialog. You can switch to an existing one or create a new one on the fly. John DeSoi, Ph.D. > On Jan 31, 2018, at 1:35 PM, macjimbo

Re: Problems installing built application

2018-01-31 Thread macjimbo via 4D_Tech
Thanks for your replies to this. I will experiment with signing BUT I really don't think this is the issue, for 2 reasons: 1. I've had this problem since before Gatekeeper was invented. 2. I'm familiar with the Gatekeeper dialogs and this isn't one of them. Gatekeeper would normally prevent the

Re: Problems installing built application

2018-01-30 Thread Keisuke Miyako via 4D_Tech
extended finder attributes cause code sign to fail, but of course, clearing them with xattr mean little if the app is not signed in the first place. basically, if you don’t sign a built application, you have no choice but to ask the end user to disable gate keeper for the app, and install it

RE: Problems installing built application

2018-01-30 Thread Timothy Penner via 4D_Tech
Hi James, I agree with what Chuck Miller posted (I think he was quoting my reply to your previous thread: http://kb.4d.com/resources/inug?msgid=GmailId1607a1da70d0a99b). Definitely start signing your application if you are not already doing so - and then make sure to distribute your signed

Re: Problems installing built application

2018-01-30 Thread Charles Miller via 4D_Tech
One thing I would for sure do is get your application signed so you do not get into instance where OS won’t lety it run. Here are notes from My assumption is that the application is falling victim to Gatekeeper and being translocated to a read-only location. Apple documents how to get around