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,
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.)
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.
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).
Daily snapshot
=========
type: open ./lazarus.app
same as before, show me that codesign problem.
type: codesign --force --deep -s - lazarus.app
objc[821]: 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.