Skip to content

Commit

Permalink
Merge pull request #118 from nimblehq/feature/97-schemes
Browse files Browse the repository at this point in the history
[97] Add schemes and update README.md
  • Loading branch information
suho authored Oct 26, 2020
2 parents eff2163 + 48464a2 commit 1429678
Show file tree
Hide file tree
Showing 13 changed files with 417 additions and 4 deletions.
59 changes: 56 additions & 3 deletions Nimble Templates/App.xctemplate/TemplateInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
<string>dwarf</string>
<key>PRODUCT_BUNDLE_IDENTIFIER</key>
<string>___VARIABLE_bundleIdentifierPrefix:bundleIdentifier___.___PACKAGENAMEASRFC1034IDENTIFIER___.staging</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME) Staging</string>
</dict>
<key>Staging</key>
<dict>
Expand All @@ -58,6 +60,8 @@
<string>STAGING</string>
<key>PRODUCT_BUNDLE_IDENTIFIER</key>
<string>___VARIABLE_bundleIdentifierPrefix:bundleIdentifier___.___PACKAGENAMEASRFC1034IDENTIFIER___.staging</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME) Staging</string>
</dict>
<key>Dev UAT</key>
<dict>
Expand All @@ -80,6 +84,8 @@
<string>dwarf</string>
<key>PRODUCT_BUNDLE_IDENTIFIER</key>
<string>___VARIABLE_bundleIdentifierPrefix:bundleIdentifier___.___PACKAGENAMEASRFC1034IDENTIFIER___.uat</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME) UAT</string>
</dict>
<key>UAT</key>
<dict>
Expand All @@ -95,6 +101,8 @@
<string>dwarf-with-dsym</string>
<key>PRODUCT_BUNDLE_IDENTIFIER</key>
<string>___VARIABLE_bundleIdentifierPrefix:bundleIdentifier___.___PACKAGENAMEASRFC1034IDENTIFIER___.uat</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME) UAT</string>
</dict>
<key>Dev Production</key>
<dict>
Expand All @@ -115,6 +123,8 @@
<string>dwarf</string>
<key>PRODUCT_BUNDLE_IDENTIFIER</key>
<string>___VARIABLE_bundleIdentifierPrefix:bundleIdentifier___.___PACKAGENAMEASRFC1034IDENTIFIER___</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
</dict>
<key>Production</key>
<dict>
Expand All @@ -134,6 +144,8 @@
<string>dwarf-with-dsym</string>
<key>PRODUCT_BUNDLE_IDENTIFIER</key>
<string>___VARIABLE_bundleIdentifierPrefix:bundleIdentifier___.___PACKAGENAMEASRFC1034IDENTIFIER___</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
</dict>
</dict>
</dict>
Expand All @@ -144,8 +156,6 @@
<string>___PACKAGENAME___</string>
<key>SharedSettings</key>
<dict>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>SWIFT_VERSION</key>
<string>5.0</string>
</dict>
Expand Down Expand Up @@ -308,7 +318,8 @@ if let windowScene = scene as? UIWindowScene {
window.rootViewController = UIHostingController(rootView: contentView)
self.window = window
window.makeKeyAndVisible()
}</string>
}
</string>
<key>*:imports:importSwiftUI</key>
<string>import SwiftUI</string>
</dict>
Expand Down Expand Up @@ -346,5 +357,47 @@ if let windowScene = scene as? UIWindowScene {
<string>popup</string>
</dict>
</array>
<key>Definitions</key>
<dict>
<key>../___PACKAGENAME___.xcodeproj/xcshareddata/xcschemes/___PACKAGENAME___.xcscheme</key>
<dict>
<key>TargetIndices</key>
<array></array>
<key>Group</key>
<array>
<string>Removable Resources</string>
</array>
<key>Path</key>
<string>___PACKAGENAME___.xcscheme</string>
</dict>
<key>../___PACKAGENAME___.xcodeproj/xcshareddata/xcschemes/___PACKAGENAME___ Staging.xcscheme</key>
<dict>
<key>TargetIndices</key>
<array></array>
<key>Group</key>
<array>
<string>Removable Resources</string>
</array>
<key>Path</key>
<string>___PACKAGENAME___ Staging.xcscheme</string>
</dict>
<key>../___PACKAGENAME___.xcodeproj/xcshareddata/xcschemes/___PACKAGENAME___ UAT.xcscheme</key>
<dict>
<key>TargetIndices</key>
<array></array>
<key>Group</key>
<array>
<string>Removable Resources</string>
</array>
<key>Path</key>
<string>___PACKAGENAME___ UAT.xcscheme</string>
</dict>
</dict>
<key>Nodes</key>
<array>
<string>../___PACKAGENAME___.xcodeproj/xcshareddata/xcschemes/___PACKAGENAME___.xcscheme</string>
<string>../___PACKAGENAME___.xcodeproj/xcshareddata/xcschemes/___PACKAGENAME___ Staging.xcscheme</string>
<string>../___PACKAGENAME___.xcodeproj/xcshareddata/xcschemes/___PACKAGENAME___ UAT.xcscheme</string>
</array>
</dict>
</plist>
98 changes: 98 additions & 0 deletions Nimble Templates/App.xctemplate/___PACKAGENAME___ Staging.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "___PACKAGENAME___.app"
BlueprintName = "___PACKAGENAME___"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Dev Staging"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "UnitTests.xctest"
BlueprintName = "UnitTests"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "UITests.xctest"
BlueprintName = "UITests"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Dev Staging"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "___PACKAGENAME___.app"
BlueprintName = "___PACKAGENAME___"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Dev Staging"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "___PACKAGENAME___.app"
BlueprintName = "___PACKAGENAME___"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Dev Staging">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Staging"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
98 changes: 98 additions & 0 deletions Nimble Templates/App.xctemplate/___PACKAGENAME___ UAT.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "___PACKAGENAME___.app"
BlueprintName = "___PACKAGENAME___"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Dev UAT"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "UnitTests.xctest"
BlueprintName = "UnitTests"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "UITests.xctest"
BlueprintName = "UITests"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Dev UAT"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "___PACKAGENAME___.app"
BlueprintName = "___PACKAGENAME___"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Dev UAT"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = ""
BuildableName = "___PACKAGENAME___.app"
BlueprintName = "___PACKAGENAME___"
ReferencedContainer = "container:___PACKAGENAME___.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Dev UAT">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "UAT"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading

0 comments on commit 1429678

Please sign in to comment.