| View previous topic :: View next topic |
| Author |
Message |
Mike
Joined: 05 May 2008 Posts: 254 Location: Christchurch, New Zealand
|
Posted: Wed Aug 15, 2012 8:12 pm Post subject: Mountain Lion Gatekeeper |
|
|
Have just updated to Mountain Lion, and it initially refused to run the latest beta of DataGraph as it comes from an "unidentified developer".
That can be permanently circumvented (at least for the current beta) by right-clicking on the DataGraph icon and choosing "Open", but most users might not know that.
I guess the App Store version has to be signed, but does the beta slip through without that step? |
|
| Back to top |
|
 |
David Site Admin
Joined: 25 Nov 2006 Posts: 1552 Location: Chapel Hill, NC
|
Posted: Wed Aug 15, 2012 8:36 pm Post subject: |
|
|
Here is the strange thing. I have that setting on my machine and it doesn't complain. I tried it on a different machine and the same download caused problems.
I do code sign, using my developer key, but I am compiling the version on 10.6 with support for 10.5. I will look into forking the release for 10.5 and 10.6 and compile the 10.6 version on a 10.8 machine.
David |
|
| Back to top |
|
 |
Mike
Joined: 05 May 2008 Posts: 254 Location: Christchurch, New Zealand
|
Posted: Wed Aug 15, 2012 10:59 pm Post subject: |
|
|
| David wrote: | | Here is the strange thing. I have that setting on my machine and it doesn't complain. I tried it on a different machine and the same download caused problems. |
Hi David, was listening to a podcast the other day which was discussing this and apparently GateKeeper is only triggered for files which are downloaded from the web. i.e. Safari (?and other browsers) sets an extended attribute on any downloaded file, giving the source and date of download. If you created the file on your computer (or copied it there via a thumb drive, etc), it would run without triggering GateKeeper. |
|
| Back to top |
|
 |
David Site Admin
Joined: 25 Nov 2006 Posts: 1552 Location: Chapel Hill, NC
|
Posted: Wed Aug 15, 2012 11:11 pm Post subject: |
|
|
That's true, and only because Safari sets the download attribute.
But I download this myself using Safari and mount the disk image. It tells me that this application is downloaded from the internet, but it doesn't stop the execution.
There are several possible reasons, but the frustrating thing is that I can't replicate it on my machine. It is there because I've seen it happen. What also seems to be the case is that it doesn't happen for every beta. But it should be identical, since I use a shell script to compile and upload the beta version.
The workaround is to control-click and launch it that way. That sets the flag to "safe" and the application will be OK after that. But I definitely have to find out why it happens.
David |
|
| Back to top |
|
 |
Mike
Joined: 05 May 2008 Posts: 254 Location: Christchurch, New Zealand
|
Posted: Mon Aug 20, 2012 12:16 am Post subject: |
|
|
Have just downloaded the latest beta. Now I don't get any warning dialog at all: double-clicking just launches the programme immediately.
I don't know Mountain Lion well enough to know if that is normal behaviour or not for a signed application. (Under Lion, I got a warning dialog with every first launch of a newly downloaded beta). |
|
| Back to top |
|
 |
David Site Admin
Joined: 25 Nov 2006 Posts: 1552 Location: Chapel Hill, NC
|
Posted: Mon Aug 20, 2012 2:29 am Post subject: |
|
|
Good to know. I did tweak things a little bit, but it might also have been something else altogether. So this might come up again, so let me know whenever you can't open the app or something changes.
David |
|
| Back to top |
|
 |
|