diff --git a/ide/lazarus.res b/ide/lazarus.res index daf660f5e4..853e17f061 100644 Binary files a/ide/lazarus.res and b/ide/lazarus.res differ diff --git a/ide/main.pp b/ide/main.pp index 6e6119e96e..658bcbac15 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -7031,13 +7031,10 @@ begin end; end; - // leave if no further action is needed - if NoBuildNeeded then - exit; - // create application bundle if Project1.UseAppBundle and (Project1.MainUnitID>=0) - and (MainBuildBoss.GetLCLWidgetType=LCLPlatformDirNames[lpCarbon]) + and ((MainBuildBoss.GetLCLWidgetType=LCLPlatformDirNames[lpCarbon]) + or (MainBuildBoss.GetLCLWidgetType=LCLPlatformDirNames[lpCocoa])) then begin Result:=CreateApplicationBundle(TargetExeName, Project1.GetTitleOrName); if not (Result in [mrOk,mrIgnore]) then begin @@ -7051,6 +7048,11 @@ begin end; end; + + // leave if no further action is needed + if NoBuildNeeded then + exit; + if (AReason in Project1.CompilerOptions.CompileReasons) and (not (pbfDoNotCompileProject in Flags)) then begin // compile