summaryrefslogtreecommitdiffstats
path: root/packaging/macosx
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-10 11:59:07 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-10 16:49:27 -0800
commit9ea46f196adec41afffe8670a647dd04c4519b99 (patch)
tree2674af925353679b029a0842ddb0365af52a4da5 /packaging/macosx
parent1ea9cc58c3864769c05876069639b1c679801c1e (diff)
downloadsubsurface-9ea46f196adec41afffe8670a647dd04c4519b99.tar.gz
mac: correct Xcode project schemes
Update schemes to only allow run. Now it is possible to build/run/debug mobileExecutable as well as desktop from within Xcode. Xcode demands that the path to the debug executable it not relative, this of course gives a portability problem. The path selected are ~/develop/src/subsurface/build.... to at least give it a shine of not being fixed. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'packaging/macosx')
-rw-r--r--packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/Subsurface-mobile.xcscheme16
-rw-r--r--packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/subsurface.xcscheme16
2 files changed, 14 insertions, 18 deletions
diff --git a/packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/Subsurface-mobile.xcscheme b/packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/Subsurface-mobile.xcscheme
index 730e17be7..f398d023d 100644
--- a/packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/Subsurface-mobile.xcscheme
+++ b/packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/Subsurface-mobile.xcscheme
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0940"
- version = "1.7">
+ version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
- buildForTesting = "YES"
+ buildForTesting = "NO"
buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
+ buildForProfiling = "NO"
+ buildForArchiving = "NO"
+ buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "39C475D9214FAF2B00CBA20C"
@@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
- <AdditionalOptions>
- </AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
@@ -44,7 +42,7 @@
allowLocationSimulation = "YES">
<PathRunnable
runnableDebuggingMode = "0"
- FilePath = "~/develop/src/subsurface/build-mobile/Subsurface-mobile.app/Contents/MacOS/Subsurface-mobile">
+ FilePath = "~/develop/src/subsurface/build-mobile/Subsurface-mobile.app">
</PathRunnable>
<MacroExpansion>
<BuildableReference
@@ -55,8 +53,6 @@
ReferencedContainer = "container:Subsurface-mobile.xcodeproj">
</BuildableReference>
</MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
diff --git a/packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/subsurface.xcscheme b/packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/subsurface.xcscheme
index 0ea97e2ba..d0a9ffa30 100644
--- a/packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/subsurface.xcscheme
+++ b/packaging/macosx/Subsurface-mobile.xcodeproj/xcshareddata/xcschemes/subsurface.xcscheme
@@ -7,11 +7,11 @@
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
- buildForTesting = "YES"
+ buildForTesting = "NO"
buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
+ buildForProfiling = "NO"
+ buildForArchiving = "NO"
+ buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "39C5DEDA214FFD3A0049E85E"
@@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
- <AdditionalOptions>
- </AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
@@ -42,6 +40,10 @@
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
+ <PathRunnable
+ runnableDebuggingMode = "0"
+ FilePath = "~/develop/src/subsurface/build/Subsurface.app">
+ </PathRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
@@ -51,8 +53,6 @@
ReferencedContainer = "container:Subsurface-mobile.xcodeproj">
</BuildableReference>
</MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"