osx/soffice.xcodeproj/project.pbxproj                         |    2 
 osx/soffice.xcodeproj/xcshareddata/xcschemes/soffice.xcscheme |   73 ++++++++++
 2 files changed, 74 insertions(+), 1 deletion(-)

New commits:
commit 2e09acb059c6635fbfabf0cdbe267729347d8390
Author:     Jan Holesovsky <[email protected]>
AuthorDate: Tue Nov 19 11:01:42 2024 +0100
Commit:     Tomaž Vajngerl <[email protected]>
CommitDate: Tue Dec 2 08:50:20 2025 +0100

    Allow running and debugging right from Xcode
    
    Using gmake from Homebrew, as LODE does not work for me at all.
    
    Change-Id: Id2a4206ec7080d87ec2a3f40dcdef2ab3d23d1c2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194562
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Tomaž Vajngerl <[email protected]>

diff --git a/osx/soffice.xcodeproj/project.pbxproj 
b/osx/soffice.xcodeproj/project.pbxproj
index bc4cb09c9647..ed050de70349 100644
--- a/osx/soffice.xcodeproj/project.pbxproj
+++ b/osx/soffice.xcodeproj/project.pbxproj
@@ -301,7 +301,7 @@
                        buildConfigurationList = BEC3D9211710B11E0030AD56 /* 
Build configuration list for PBXLegacyTarget "soffice" */;
                        buildPhases = (
                        );
-                       buildToolPath = /usr/local/bin/make;
+                       buildToolPath = /opt/homebrew/bin/gmake;
                        buildWorkingDirectory = ..;
                        dependencies = (
                        );
diff --git a/osx/soffice.xcodeproj/xcshareddata/xcschemes/soffice.xcscheme 
b/osx/soffice.xcodeproj/xcshareddata/xcschemes/soffice.xcscheme
new file mode 100644
index 000000000000..45a534840074
--- /dev/null
+++ b/osx/soffice.xcodeproj/xcshareddata/xcschemes/soffice.xcscheme
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "1600"
+   version = "2.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES"
+      buildArchitectures = "Automatic">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "BEC3D91E1710B11E0030AD56"
+               BuildableName = "soffice"
+               BlueprintName = "soffice"
+               ReferencedContainer = "container:soffice.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      shouldAutocreateTestPlan = "YES">
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "NO"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <PathRunnable
+         runnableDebuggingMode = "0"
+         BundleIdentifier = "org.libreoffice.script"
+         Location = "workspace"
+         FilePath = "../instdir/CollaboraOffice.app">
+      </PathRunnable>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "BEC3D91E1710B11E0030AD56"
+            BuildableName = "soffice"
+            BlueprintName = "soffice"
+            ReferencedContainer = "container:soffice.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>

Reply via email to