Lazarus
Programming => Widgetset => Cocoa => Topic started by: murrayELZ on June 18, 2019, 10:58:50 pm
-
What are the prospects for 64-bit versions of Lazarus & fpc in time for use under macOS Catalina?
-
I haven't tried Catalina, but you can make x64 macOS applications right now.
The easiest way is to use fpcupdeluxe
-
Lazarus trunk is presumably working on the beta.
Lazarus 2.0.2 doesn't. (https://bugs.freepascal.org/view.php?id=35702)
-
I have just build Lazarus from latest svn revision(r61555). While it is build successfully without errors I noticed that File->Open, Project->Open is not working. Just nothing happens. I can open file/project with double click. It also works with simple ShowMessage application.
-
try to launch Lazarus from terminal
cd lazarus.app/Contents/MacOS
./lazarus
and see what's the output whenever you're trying to run File->Open or Project->Open
Also, try to create a sample project with TFileOpenDialog and see if it works.
-
Basically every time I try to open file, file location I receive this message in terminal:
2019-07-10 10:48:21.263 lazarus[1707:37235] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
-
Still same problem with revision r61736.
Is this something that Lazarus/FreePascal can solve. Or is this something that should be solved inside Catalina?
-
What catalina beta version do you've?
it might have been resolved in Beta 6 (https://forum.lazarus.freepascal.org/index.php/topic,46414.0.html)
-
Looking on the internet it seems to be happening to a lot of programs under Catalina.
It seems to be related to the fact that Lazarus is sandboxed (because it's not an app distributed via the appstore).
https://www.emaculation.com/forum/viewtopic.php?f=20&t=10249#p63584
Not sure if and how you can disable this sandbox feature.
(Of course with beta software you always need to make sure you're running the latest)
-
Tested with Public beta 5
-
Tested with Public beta 5
Beta 6 has been released Aug 19th.
It seems to fix the issue.
-
Tested with Public beta 5
It was fixed in developer beta 6 for my application which exhibited the same behaviour you describe.
As to public betas, this is what OSX Daily says:
Apple has released MacOS Catalina 10.15 beta 6 to those who are enrolled in the developer beta testing program for macOS system software. Typically a developer beta arrives first, soon followed by the same build as a public beta release yet versioned a number behind. MacOS Catalina beta 6 would be MacOS Catalina public beta 5. Dev beta 6 carries the build 19A536g.
So I'm not sure why you still have the issue - note that my application was generated with Lazarus trunk and FPC trunk.
The Catalina beta road has been somewhat bumpy so far. I find it, even as a mere hobbyist, worth paying Apple their $US 99 for developer status which includes two "free" Technical Support Incidents (one of which I have used to discover how non-Xcode generated command-line executables could be notarised).
-
Beta 6:
-
@trev you mention one of which I have used to discover how non-Xcode generated command-line executables could be notarised. Can you describe the solution? I have asked this on the MacOS Lazarus forum and would like to know the solution.
-
Latest test with svn r61912 and Catalina public beta 8 works. Also did some basic tests and it works.
-
I also cannot install FPC 3.0.4a on a macbook running Catalina (OS X 10.15). The actual error (which doesn't seem to have been correctly supplied in earlier threads) is
The package is trying to install content to the system volume. Contact the software manufacturer for assistance.
I have disabled SIP but that didn't help.
Anyone know how to get FPC up and running on catalina?
-
Yay - found the reference below in another thread and this worked for me too.
Thanks to Mattias Gaertner, this works now for me:
https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/