1. use the Icon in the APP bundle instead of the Icon in the LCL Project 2. cancel setting setRepresentedURL to avoid blank Icon in titlebar
@@ -94,6 +94,7 @@ uses
{$ENDIF}
{$IFDEF LclCocoa}
,uCocoaModernFormConfig
+ ,CocoaConfig
;
@@ -144,6 +145,8 @@ begin
{$IF DEFINED(DARWIN)}
GetMacFormatSettings(DefaultFormatSettings);
+ CocoaConfigGlobal.useIcon:= True;
+ Application.Icon:= nil;
uDCVersion.InitializeVersionInfo;