1. Are you using an M1 (Apple Processor) Mac?1. yes
2. Did you compile an Intel or ARM64 version of Lazarus?
thanks, trev.
i had download your daily build, when i use your command to open lazarus, it shows me that binary have no signature, just like download old intel lazarus running.
i test my build, if don't use open, it will open lazarus and tell me debugger not set, but i cannot do any input into lazarus setting, because all input will catch by terminal.
because download your daily build, i have not previous lazarus.thanks, trev.
i had download your daily build, when i use your command to open lazarus, it shows me that binary have no signature, just like download old intel lazarus running.
You should be able to just ad hoc sign the executable binaries (ie sign with the pseudo-identity “-” a dash). For example: codesign --force -s - lazarus
this simple, i solved.Quotei test my build, if don't use open, it will open lazarus and tell me debugger not set, but i cannot do any input into lazarus setting, because all input will catch by terminal.
1. Did you delete previous executables?
2. Did you move the code directory to your home directory?
I'm having great difficulty understanding what you actually do after I ask you to do something. So, please, do exactly what I ask and report back on it. Missing out a step or not doing it in the order asked can be the difference between something working or not and leaves me with no data points to help with debugging the issue.
Your source
========
1. Move the source directory to your home directory.
2. Delete the executables.
3. Recompile.
4. $ open lazarus (not startlazarus)
Does it work?
Daily snapshot
=========
1. Move the source directory to your home directory.
2. Ad hoc sign the executables as described previously.
3. $ open lazarus (not startlazarus)
Does it work?
I'm having great difficulty understanding what you actually do after I ask you to do something. So, please, do exactly what I ask and report back on it. Missing out a step or not doing it in the order asked can be the difference between something working or not and leaves me with no data points to help with debugging the issue.Your source
Your source
========
1. Move the source directory to your home directory.
2. Delete the executables.
3. Recompile.
4. $ open lazarus (not startlazarus)
Does it work?
Daily snapshot
=========
1. Move the source directory to your home directory.
2. Ad hoc sign the executables as described previously.
3. $ open lazarus (not startlazarus)
Does it work?
Your source
========
after recompile, the permission problem solved,
but when type:open lazarus
it shows me to config, and all what i type in config screen, will show in terminal not in config screen
look at attachment,
Daily snapshot
=========
type: codesign --force -s - lazarus
objc[798]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1f3eeec10) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1189e42b8). One of the two will be used. Which one is undefined.
Daily snapshotYour source
========
after recompile, the permission problem solved,
but when type:open lazarus
it shows me to config, and all what i type in config screen, will show in terminal not in config screen
look at attachment,
OK. That's expected.
Try open ./lazarus.app
Your source
========
type: open ./lazarus.app
shows The application cannot be opened for an unexpected reason .....User doesn't have permission to launch the app(managed networks)
type: codesign --force --deep -s - lazarus.app
replacing existiing signature
the main executable or info.plist must be a regular file (no symlinks, etc.)QuoteDaily snapshot
=========
type: codesign --force -s - lazarus
objc[798]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1f3eeec10) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1189e42b8). One of the two will be used. Which one is undefined.
That is a macOS info message because there are two dylibs for the particular function. It is not an error and is harmless but sloppy by Apple.
Please try open ./lazarus.app for the now signed executable (note: you may need to also sign the .app bundle in which case use codesign --force --deep -s - lazarus.app).
Try open ./lazarus.app
Your source
========
type: codesign --force --deep -s - lazarus.app
replacing existiing signature
the main executable or info.plist must be a regular file (no symlinks, etc.)