Re: Running LDC on a recent MacOS

2023-06-17 Thread Guillaume Piolat via Digitalmars-d-learn

On Friday, 16 June 2023 at 15:56:30 UTC, Dmitry Olshansky wrote:
So I've got my hands on one of 'em MacPros. Great machine, nice 
build quality.


Next order of business is to run D on the box, so I've 
downloaded universal binaries off ldc's release page. When I 
try to run any of the binaries nasty message box comes out to 
tell me it doesn't recognise the author of the binary. Any 
attempt to bypass the message turns to failure for me.


Any advice from MacOS users?

---
Dmitry Olshansky


Right click on the executable and select "open" then pass the 
popup, next time it is executed it will run from the cmdline.


Re: Running LDC on a recent MacOS

2023-06-16 Thread Dave P. via Digitalmars-d-learn

On Friday, 16 June 2023 at 16:25:35 UTC, Dmitry Olshansky wrote:
On Friday, 16 June 2023 at 16:14:19 UTC, Steven Schveighoffer 
wrote:

On 6/16/23 11:56 AM, Dmitry Olshansky wrote:


Any advice from MacOS users?


Yep.

Go into settings, then privacy and security. Make sure "App 
store and identified developers" is checked.


On that page, you will see probably a thing saying "you tried 
to run ldc2 but I blocked it". Say "allow anyway".


Then try it again. This time, it will still block it, but ask 
you if you want to run it.


Yes, thanks that did the trick!



-Steve


That process is too annoying to me. I usually just remove the 
quarantine attribute instead.


```bash
$ xattr -r -d com.apple.quarantine 
ldc2-1.33.0-beta2-osx-universal.tar.xz

```


Re: Running LDC on a recent MacOS

2023-06-16 Thread Dmitry Olshansky via Digitalmars-d-learn
On Friday, 16 June 2023 at 16:14:19 UTC, Steven Schveighoffer 
wrote:

On 6/16/23 11:56 AM, Dmitry Olshansky wrote:


Any advice from MacOS users?


Yep.

Go into settings, then privacy and security. Make sure "App 
store and identified developers" is checked.


On that page, you will see probably a thing saying "you tried 
to run ldc2 but I blocked it". Say "allow anyway".


Then try it again. This time, it will still block it, but ask 
you if you want to run it.


Yes, thanks that did the trick!



-Steve





Re: Running LDC on a recent MacOS

2023-06-16 Thread Steven Schveighoffer via Digitalmars-d-learn

On 6/16/23 11:56 AM, Dmitry Olshansky wrote:
So I've got my hands on one of 'em MacPros. Great machine, nice build 
quality.


Next order of business is to run D on the box, so I've downloaded 
universal binaries off ldc's release page. When I try to run any of the 
binaries nasty message box comes out to tell me it doesn't recognise the 
author of the binary. Any attempt to bypass the message turns to failure 
for me.


Any advice from MacOS users?


Yep.

Go into settings, then privacy and security. Make sure "App store and 
identified developers" is checked.


On that page, you will see probably a thing saying "you tried to run 
ldc2 but I blocked it". Say "allow anyway".


Then try it again. This time, it will still block it, but ask you if you 
want to run it.


-Steve