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 registered with Apple and created a Mac developer 
certificate using Xcode.

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". 

I think maybe I haven’t got the name of the certificate right in the build 
parameters, but I’ve entered the name as it appears in Keychain.

In any event, I’m fairly certain that this has nothing to do with Gatekeeper, 
because I’m not getting a Gatekeeper dialog. I think Gatekeeper only relates to 
apps which are downloaded from the internet, which this is not.

Also, you surely shouldn’t be able to bypass Gatekeeper simply by altering 
permissions in Finder?

The current situation is as follows:

1. I build an app (without a certificate), package it and then install using 
Apple Remote Desktop.
2. If I install into /Users/Shared/AppFolder then I get an array of results. 
Sometimes the app launches fine, sometimes I get the error messages on launch 
or quit as described earlier.
3. If I get error messages, then usually applying the folder permissions to its 
contents will sort the problem until the next installation
3. If I install into /Applications then the app crashes on launch.

Hope someone can help me with this.

Thanks

James


> On 31 Jan 2018, at 21:55, Timothy Penner via 4D_Tech <[email protected]> 
> wrote:
> 
>> 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 is actually 
> installed, then you have successfully bypassed GateKeeper.
> 
> If the Path is wrong and looks like it begins with a UUID, then your 
> application is being Translocated to a Read-Only quarantine due to GateKeeper.
> http://forums.4d.com/4DBB_Main/x_User/1178015/files/18720934.png
> 
> 
> -Tim
> 
> 
> 
> **********************************************************************
> 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:[email protected]
> **********************************************************************

**********************************************************************
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:[email protected]
**********************************************************************

Reply via email to