From 8dbfa702c6d405f7f612b5b197184e524c964a5b Mon Sep 17 00:00:00 2001 From: Syo Ikeda <suicaicoca@gmail.com> Date: Mon, 28 Mar 2016 23:35:00 +0900 Subject: [PATCH] Tests: Stop building test target for Run and Analyze actions. Avoid unnecessary test builds and more closely match Xcode 7.3.0 new project build actions for test targets. See <https://github.com/jdhealy/PrettyColors/pull/9#issuecomment-204659231> and links branching off <https://github.com/jdhealy/PrettyColors/pull/9#issuecomment-204660809>. Also, acquiesce to Xcode moving the buildConfiguration declarations to the top of their elements. Credit to @ikesyo. Commit message amended by @jdhealy. See <#9>. --- .../xcshareddata/xcschemes/PrettyColors Mac.xcscheme | 12 ++++++------ .../xcshareddata/xcschemes/PrettyColors iOS.xcscheme | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/PrettyColors.xcodeproj/xcshareddata/xcschemes/PrettyColors Mac.xcscheme b/PrettyColors.xcodeproj/xcshareddata/xcschemes/PrettyColors Mac.xcscheme index 42c43620..537a2ecb 100644 --- a/PrettyColors.xcodeproj/xcshareddata/xcschemes/PrettyColors Mac.xcscheme +++ b/PrettyColors.xcodeproj/xcshareddata/xcschemes/PrettyColors Mac.xcscheme @@ -22,10 +22,10 @@ </BuildActionEntry> <BuildActionEntry buildForTesting = "YES" - buildForRunning = "YES" + buildForRunning = "NO" buildForProfiling = "NO" buildForArchiving = "NO" - buildForAnalyzing = "YES"> + buildForAnalyzing = "NO"> <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "673900B51A546F2D0066713B" @@ -37,10 +37,10 @@ </BuildActionEntries> </BuildAction> <TestAction + buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Debug"> + shouldUseLaunchSchemeArgsEnv = "YES"> <Testables> <TestableReference skipped = "NO"> @@ -66,11 +66,11 @@ </AdditionalOptions> </TestAction> <LaunchAction + buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" launchStyle = "0" useCustomWorkingDirectory = "NO" - buildConfiguration = "Debug" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" @@ -88,10 +88,10 @@ </AdditionalOptions> </LaunchAction> <ProfileAction + buildConfiguration = "Release" shouldUseLaunchSchemeArgsEnv = "YES" savedToolIdentifier = "" useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" debugDocumentVersioning = "YES"> <MacroExpansion> <BuildableReference diff --git a/PrettyColors.xcodeproj/xcshareddata/xcschemes/PrettyColors iOS.xcscheme b/PrettyColors.xcodeproj/xcshareddata/xcschemes/PrettyColors iOS.xcscheme index 51f12460..ff1c479c 100644 --- a/PrettyColors.xcodeproj/xcshareddata/xcschemes/PrettyColors iOS.xcscheme +++ b/PrettyColors.xcodeproj/xcshareddata/xcschemes/PrettyColors iOS.xcscheme @@ -37,10 +37,10 @@ </BuildActionEntries> </BuildAction> <TestAction + buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Debug"> + shouldUseLaunchSchemeArgsEnv = "YES"> <Testables> <TestableReference skipped = "NO"> @@ -66,11 +66,11 @@ </AdditionalOptions> </TestAction> <LaunchAction + buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" launchStyle = "0" useCustomWorkingDirectory = "NO" - buildConfiguration = "Debug" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" @@ -88,10 +88,10 @@ </AdditionalOptions> </LaunchAction> <ProfileAction + buildConfiguration = "Release" shouldUseLaunchSchemeArgsEnv = "YES" savedToolIdentifier = "" useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" debugDocumentVersioning = "YES"> <MacroExpansion> <BuildableReference