fwtoolkit 1.0.6 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +6 -14
- data/lib/fwtoolkit/cli/project.rb +7 -11
- data/lib/fwtoolkit/cli/xcode.rb +3 -3
- data/lib/fwtoolkit/cli.rb +5 -8
- data/lib/fwtoolkit/config/config.sample +2 -3
- data/lib/fwtoolkit/configfile.rb +0 -1
- data/lib/fwtoolkit/version.rb +1 -1
- data/templates/objc_project/git/.gitignore +31 -0
- data/templates/objc_project/rvm/Gemfile +3 -0
- data/templates/objc_project/xcode/%project_name%/%project_name%.xcodeproj/project.pbxproj.tt +441 -0
- data/templates/{default_project → objc_project}/xcode/%project_name%/%project_name%.xcodeproj/project.xcworkspace/contents.xcworkspacedata.tt +0 -0
- data/templates/{default_project → objc_project}/xcode/%project_name%/%target_name%/%class_prefix%AppDelegate.h.tt +7 -4
- data/templates/{default_project → objc_project}/xcode/%project_name%/%target_name%/%class_prefix%AppDelegate.m.tt +14 -18
- data/templates/objc_project/xcode/%project_name%/%target_name%/%class_prefix%ViewController.h.tt +15 -0
- data/templates/objc_project/xcode/%project_name%/%target_name%/%class_prefix%ViewController.m.tt +27 -0
- data/templates/objc_project/xcode/%project_name%/%target_name%/AppDelegate.swift.tt +46 -0
- data/templates/objc_project/xcode/%project_name%/%target_name%/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json +68 -0
- data/templates/objc_project/xcode/%project_name%/%target_name%/Resources/Base.lproj/LaunchScreen.storyboard +27 -0
- data/templates/objc_project/xcode/%project_name%/%target_name%/Resources/Base.lproj/Main.storyboard +26 -0
- data/templates/{default_project/xcode/%project_name%/%target_name%/Supporting Files/%project_name%-Info.plist → objc_project/xcode/%project_name%/%target_name%/Supporting Files/Info.plist } +8 -6
- data/templates/{default_project → objc_project}/xcode/%project_name%/%target_name%/Supporting Files/fw-shared.xcconfig +1 -5
- data/templates/{default_project → objc_project}/xcode/%project_name%/%target_name%/Supporting Files/main.m.tt +3 -5
- data/templates/objc_project/xcode/%project_name%/%target_name%/ViewController.swift.tt +25 -0
- data/templates/objc_project/xcode/%project_name%/%target_name%Tests/%project_name%Tests.m.tt +39 -0
- data/templates/{default_project/xcode/%project_name%/%tests_target_name%/Supporting Files/%tests_target_name%-Info.plist → objc_project/xcode/%project_name%/%target_name%Tests/Resources/Info.plist} +4 -2
- data/templates/objc_project/xcode/%project_name%/%tests_target_name%/%project_name%Tests.swift.tt +36 -0
- data/templates/objc_project/xcode/%project_name%/%tests_target_name%/Supporting Files/Info.plist +24 -0
- data/templates/{default_project → objc_project}/xcode/%project_name%.xcworkspace/contents.xcworkspacedata.tt +1 -1
- data/templates/{default_project → objc_project}/xcode/Podfile.tt +2 -0
- data/templates/{default_project → objc_project}/xcode/Rakefile.tt +0 -5
- data/templates/swift_project/git/.gitignore +31 -0
- data/templates/swift_project/rvm/Gemfile +3 -0
- data/templates/swift_project/xcode/%project_name%/%project_name%.xcodeproj/project.pbxproj.tt +435 -0
- data/templates/swift_project/xcode/%project_name%/%project_name%.xcodeproj/project.xcworkspace/contents.xcworkspacedata.tt +7 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/%class_prefix%AppDelegate.h.tt +18 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/%class_prefix%AppDelegate.m.tt +45 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/%class_prefix%ViewController.h.tt +15 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/%class_prefix%ViewController.m.tt +27 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/AppDelegate.swift.tt +46 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json +73 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/Resources/Base.lproj/LaunchScreen.storyboard +27 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/Resources/Base.lproj/Main.storyboard +25 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/Supporting Files/Info.plist +47 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/Supporting Files/fw-shared.xcconfig +37 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/Supporting Files/main.m.tt +16 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%/ViewController.swift.tt +25 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%Tests/%project_name%Tests.m.tt +39 -0
- data/templates/swift_project/xcode/%project_name%/%target_name%Tests/Resources/Info.plist +24 -0
- data/templates/swift_project/xcode/%project_name%/%tests_target_name%/%project_name%Tests.swift.tt +36 -0
- data/templates/swift_project/xcode/%project_name%/%tests_target_name%/Supporting Files/Info.plist +24 -0
- data/templates/swift_project/xcode/%project_name%/.DS_Store +0 -0
- data/templates/swift_project/xcode/%project_name%.xcworkspace/contents.xcworkspacedata.tt +7 -0
- data/templates/swift_project/xcode/.DS_Store +0 -0
- data/templates/swift_project/xcode/Podfile.tt +5 -0
- data/templates/swift_project/xcode/Rakefile.tt +9 -0
- metadata +103 -123
- data/templates/default_project/frank/%project_name%/%target_name%/%class_prefix%AppDelegate+Frank.h.tt +0 -15
- data/templates/default_project/frank/%project_name%/%target_name%/%class_prefix%AppDelegate+Frank.m.tt +0 -86
- data/templates/default_project/frank/%project_name%/Frank/features/example.feature +0 -8
- data/templates/default_project/frank/%project_name%/Frank/features/step_definitions/launch_steps.rb +0 -15
- data/templates/default_project/frank/%project_name%/Frank/features/support/env.rb +0 -21
- data/templates/default_project/frank/%project_name%/Frank/features/support/mimic.rb +0 -94
- data/templates/default_project/frank/~template_config.rb +0 -11
- data/templates/default_project/frank_seed_core_data/%project_name%/Frank/features/support/models/%class_name%.rb.tt +0 -30
- data/templates/default_project/frank_seed_support/%project_name%/Frank/features/support/models/factories.rb.tt +0 -10
- data/templates/default_project/frank_seed_support/%project_name%/Frank/features/support/views/my_objects_json.erb +0 -7
- data/templates/default_project/frank_seed_support/%project_name%/Frank/features/support/views/my_objects_xml.erb +0 -7
- data/templates/default_project/rvm/.rvmrc.tt +0 -41
- data/templates/default_project/xcode/%project_name%/%project_name%.xcodeproj/project.pbxproj.tt +0 -547
- data/templates/default_project/xcode/%project_name%/%project_name%.xcodeproj/xcshareddata/xcschemes/%project_name%-Release.xcscheme.tt +0 -105
- data/templates/default_project/xcode/%project_name%/%project_name%.xcodeproj/xcshareddata/xcschemes/%project_name%-Testing.xcscheme.tt +0 -105
- data/templates/default_project/xcode/%project_name%/%project_name%.xcodeproj/xcshareddata/xcschemes/%project_name%.xcscheme.tt +0 -105
- data/templates/default_project/xcode/%project_name%/%target_name%/Supporting Files/%project_name%-Prefix.pch.tt +0 -14
- data/templates/default_project/xcode/%project_name%/%target_name%/Supporting Files/en.lproj/InfoPlist.strings +0 -2
- data/templates/default_project/xcode/%project_name%/%target_name%/Supporting Files/info.plist.h.tt +0 -8
- data/templates/default_project/xcode/%project_name%/%target_name%/Supporting Files/version.sh +0 -159
- data/templates/default_project/xcode/%project_name%/%tests_target_name%/%project_name%Tests.h.tt +0 -13
- data/templates/default_project/xcode/%project_name%/%tests_target_name%/%project_name%Tests.m.tt +0 -32
- data/templates/default_project/xcode/%project_name%/%tests_target_name%/Supporting Files/en.lproj/InfoPlist.strings +0 -2
- data/templates/default_project/xcode/%project_name%/Default.png +0 -0
- data/templates/default_project/xcode/%project_name%/Resources/Default-568h@2x.png +0 -0
- data/templates/default_project/xcode/%project_name%/Resources/Default.png +0 -0
- data/templates/default_project/xcode/%project_name%/Resources/Default@2x.png +0 -0
- data/templates/default_project/xcode/%project_name%.xcworkspace/xcshareddata/%project_name%.xccheckout.tt +0 -41
- data/templates/default_project/xcode/FWProjectfile.tt +0 -14
- data/templates/default_project/xcode/~template_config.rb +0 -5
@@ -1,105 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Scheme
|
3
|
-
LastUpgradeVersion = "0450"
|
4
|
-
version = "1.7">
|
5
|
-
<BuildAction
|
6
|
-
parallelizeBuildables = "YES"
|
7
|
-
buildImplicitDependencies = "YES">
|
8
|
-
<BuildActionEntries>
|
9
|
-
<BuildActionEntry
|
10
|
-
buildForTesting = "YES"
|
11
|
-
buildForRunning = "YES"
|
12
|
-
buildForProfiling = "YES"
|
13
|
-
buildForArchiving = "YES"
|
14
|
-
buildForAnalyzing = "YES">
|
15
|
-
<BuildableReference
|
16
|
-
BuildableIdentifier = "primary"
|
17
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
18
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
19
|
-
BlueprintName = "<%= config[:target_name] %>"
|
20
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
21
|
-
</BuildableReference>
|
22
|
-
</BuildActionEntry>
|
23
|
-
</BuildActionEntries>
|
24
|
-
</BuildAction>
|
25
|
-
<TestAction
|
26
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
27
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
28
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
29
|
-
buildConfiguration = "Debug">
|
30
|
-
<Testables>
|
31
|
-
<TestableReference
|
32
|
-
skipped = "NO">
|
33
|
-
<BuildableReference
|
34
|
-
BuildableIdentifier = "primary"
|
35
|
-
BlueprintIdentifier = "B7402BE416C26CE70014570E"
|
36
|
-
BuildableName = "<%= config[:binary_name] %>Tests.octest"
|
37
|
-
BlueprintName = "<%= config[:tests_target_name] %>"
|
38
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
39
|
-
</BuildableReference>
|
40
|
-
</TestableReference>
|
41
|
-
</Testables>
|
42
|
-
<MacroExpansion>
|
43
|
-
<BuildableReference
|
44
|
-
BuildableIdentifier = "primary"
|
45
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
46
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
47
|
-
BlueprintName = "<%= config[:target_name] %>"
|
48
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
49
|
-
</BuildableReference>
|
50
|
-
</MacroExpansion>
|
51
|
-
</TestAction>
|
52
|
-
<LaunchAction
|
53
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
54
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
55
|
-
launchStyle = "0"
|
56
|
-
useCustomWorkingDirectory = "NO"
|
57
|
-
buildConfiguration = "Release"
|
58
|
-
ignoresPersistentStateOnLaunch = "NO"
|
59
|
-
debugDocumentVersioning = "YES"
|
60
|
-
allowLocationSimulation = "YES">
|
61
|
-
<BuildableProductRunnable>
|
62
|
-
<BuildableReference
|
63
|
-
BuildableIdentifier = "primary"
|
64
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
65
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
66
|
-
BlueprintName = "<%= config[:target_name] %>"
|
67
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
68
|
-
</BuildableReference>
|
69
|
-
</BuildableProductRunnable>
|
70
|
-
<AdditionalOptions>
|
71
|
-
<AdditionalOption
|
72
|
-
key = "NSZombieEnabled"
|
73
|
-
value = "YES"
|
74
|
-
isEnabled = "YES">
|
75
|
-
</AdditionalOption>
|
76
|
-
</AdditionalOptions>
|
77
|
-
<LocationScenarioReference
|
78
|
-
identifier = "London, England"
|
79
|
-
referenceType = "1">
|
80
|
-
</LocationScenarioReference>
|
81
|
-
</LaunchAction>
|
82
|
-
<ProfileAction
|
83
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
84
|
-
savedToolIdentifier = ""
|
85
|
-
useCustomWorkingDirectory = "NO"
|
86
|
-
buildConfiguration = "Release"
|
87
|
-
debugDocumentVersioning = "YES">
|
88
|
-
<BuildableProductRunnable>
|
89
|
-
<BuildableReference
|
90
|
-
BuildableIdentifier = "primary"
|
91
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
92
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
93
|
-
BlueprintName = "<%= config[:target_name] %>"
|
94
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
95
|
-
</BuildableReference>
|
96
|
-
</BuildableProductRunnable>
|
97
|
-
</ProfileAction>
|
98
|
-
<AnalyzeAction
|
99
|
-
buildConfiguration = "Debug">
|
100
|
-
</AnalyzeAction>
|
101
|
-
<ArchiveAction
|
102
|
-
buildConfiguration = "Release"
|
103
|
-
revealArchiveInOrganizer = "YES">
|
104
|
-
</ArchiveAction>
|
105
|
-
</Scheme>
|
@@ -1,105 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Scheme
|
3
|
-
LastUpgradeVersion = "0450"
|
4
|
-
version = "1.7">
|
5
|
-
<BuildAction
|
6
|
-
parallelizeBuildables = "YES"
|
7
|
-
buildImplicitDependencies = "YES">
|
8
|
-
<BuildActionEntries>
|
9
|
-
<BuildActionEntry
|
10
|
-
buildForTesting = "YES"
|
11
|
-
buildForRunning = "YES"
|
12
|
-
buildForProfiling = "YES"
|
13
|
-
buildForArchiving = "YES"
|
14
|
-
buildForAnalyzing = "YES">
|
15
|
-
<BuildableReference
|
16
|
-
BuildableIdentifier = "primary"
|
17
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
18
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
19
|
-
BlueprintName = "<%= config[:target_name] %>"
|
20
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
21
|
-
</BuildableReference>
|
22
|
-
</BuildActionEntry>
|
23
|
-
</BuildActionEntries>
|
24
|
-
</BuildAction>
|
25
|
-
<TestAction
|
26
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
27
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
28
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
29
|
-
buildConfiguration = "Debug">
|
30
|
-
<Testables>
|
31
|
-
<TestableReference
|
32
|
-
skipped = "NO">
|
33
|
-
<BuildableReference
|
34
|
-
BuildableIdentifier = "primary"
|
35
|
-
BlueprintIdentifier = "B7402BE416C26CE70014570E"
|
36
|
-
BuildableName = "<%= config[:binary_name] %>Tests.octest"
|
37
|
-
BlueprintName = "<%= config[:tests_target_name] %>"
|
38
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
39
|
-
</BuildableReference>
|
40
|
-
</TestableReference>
|
41
|
-
</Testables>
|
42
|
-
<MacroExpansion>
|
43
|
-
<BuildableReference
|
44
|
-
BuildableIdentifier = "primary"
|
45
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
46
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
47
|
-
BlueprintName = "<%= config[:target_name] %>"
|
48
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
49
|
-
</BuildableReference>
|
50
|
-
</MacroExpansion>
|
51
|
-
</TestAction>
|
52
|
-
<LaunchAction
|
53
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
54
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
55
|
-
launchStyle = "0"
|
56
|
-
useCustomWorkingDirectory = "NO"
|
57
|
-
buildConfiguration = "Testing"
|
58
|
-
ignoresPersistentStateOnLaunch = "NO"
|
59
|
-
debugDocumentVersioning = "YES"
|
60
|
-
allowLocationSimulation = "YES">
|
61
|
-
<BuildableProductRunnable>
|
62
|
-
<BuildableReference
|
63
|
-
BuildableIdentifier = "primary"
|
64
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
65
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
66
|
-
BlueprintName = "<%= config[:target_name] %>"
|
67
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
68
|
-
</BuildableReference>
|
69
|
-
</BuildableProductRunnable>
|
70
|
-
<AdditionalOptions>
|
71
|
-
<AdditionalOption
|
72
|
-
key = "NSZombieEnabled"
|
73
|
-
value = "YES"
|
74
|
-
isEnabled = "YES">
|
75
|
-
</AdditionalOption>
|
76
|
-
</AdditionalOptions>
|
77
|
-
<LocationScenarioReference
|
78
|
-
identifier = "London, England"
|
79
|
-
referenceType = "1">
|
80
|
-
</LocationScenarioReference>
|
81
|
-
</LaunchAction>
|
82
|
-
<ProfileAction
|
83
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
84
|
-
savedToolIdentifier = ""
|
85
|
-
useCustomWorkingDirectory = "NO"
|
86
|
-
buildConfiguration = "Release"
|
87
|
-
debugDocumentVersioning = "YES">
|
88
|
-
<BuildableProductRunnable>
|
89
|
-
<BuildableReference
|
90
|
-
BuildableIdentifier = "primary"
|
91
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
92
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
93
|
-
BlueprintName = "<%= config[:target_name] %>"
|
94
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
95
|
-
</BuildableReference>
|
96
|
-
</BuildableProductRunnable>
|
97
|
-
</ProfileAction>
|
98
|
-
<AnalyzeAction
|
99
|
-
buildConfiguration = "Debug">
|
100
|
-
</AnalyzeAction>
|
101
|
-
<ArchiveAction
|
102
|
-
buildConfiguration = "Release"
|
103
|
-
revealArchiveInOrganizer = "YES">
|
104
|
-
</ArchiveAction>
|
105
|
-
</Scheme>
|
@@ -1,105 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Scheme
|
3
|
-
LastUpgradeVersion = "0450"
|
4
|
-
version = "1.7">
|
5
|
-
<BuildAction
|
6
|
-
parallelizeBuildables = "YES"
|
7
|
-
buildImplicitDependencies = "YES">
|
8
|
-
<BuildActionEntries>
|
9
|
-
<BuildActionEntry
|
10
|
-
buildForTesting = "YES"
|
11
|
-
buildForRunning = "YES"
|
12
|
-
buildForProfiling = "YES"
|
13
|
-
buildForArchiving = "YES"
|
14
|
-
buildForAnalyzing = "YES">
|
15
|
-
<BuildableReference
|
16
|
-
BuildableIdentifier = "primary"
|
17
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
18
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
19
|
-
BlueprintName = "<%= config[:target_name] %>"
|
20
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
21
|
-
</BuildableReference>
|
22
|
-
</BuildActionEntry>
|
23
|
-
</BuildActionEntries>
|
24
|
-
</BuildAction>
|
25
|
-
<TestAction
|
26
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
27
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
28
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
29
|
-
buildConfiguration = "Debug">
|
30
|
-
<Testables>
|
31
|
-
<TestableReference
|
32
|
-
skipped = "NO">
|
33
|
-
<BuildableReference
|
34
|
-
BuildableIdentifier = "primary"
|
35
|
-
BlueprintIdentifier = "B7402BE416C26CE70014570E"
|
36
|
-
BuildableName = "<%= config[:binary_name] %>Tests.octest"
|
37
|
-
BlueprintName = "<%= config[:tests_target_name] %>"
|
38
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
39
|
-
</BuildableReference>
|
40
|
-
</TestableReference>
|
41
|
-
</Testables>
|
42
|
-
<MacroExpansion>
|
43
|
-
<BuildableReference
|
44
|
-
BuildableIdentifier = "primary"
|
45
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
46
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
47
|
-
BlueprintName = "<%= config[:target_name] %>"
|
48
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
49
|
-
</BuildableReference>
|
50
|
-
</MacroExpansion>
|
51
|
-
</TestAction>
|
52
|
-
<LaunchAction
|
53
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
54
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
55
|
-
launchStyle = "0"
|
56
|
-
useCustomWorkingDirectory = "NO"
|
57
|
-
buildConfiguration = "Debug"
|
58
|
-
ignoresPersistentStateOnLaunch = "NO"
|
59
|
-
debugDocumentVersioning = "YES"
|
60
|
-
allowLocationSimulation = "YES">
|
61
|
-
<BuildableProductRunnable>
|
62
|
-
<BuildableReference
|
63
|
-
BuildableIdentifier = "primary"
|
64
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
65
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
66
|
-
BlueprintName = "<%= config[:target_name] %>"
|
67
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
68
|
-
</BuildableReference>
|
69
|
-
</BuildableProductRunnable>
|
70
|
-
<AdditionalOptions>
|
71
|
-
<AdditionalOption
|
72
|
-
key = "NSZombieEnabled"
|
73
|
-
value = "YES"
|
74
|
-
isEnabled = "YES">
|
75
|
-
</AdditionalOption>
|
76
|
-
</AdditionalOptions>
|
77
|
-
<LocationScenarioReference
|
78
|
-
identifier = "London, England"
|
79
|
-
referenceType = "1">
|
80
|
-
</LocationScenarioReference>
|
81
|
-
</LaunchAction>
|
82
|
-
<ProfileAction
|
83
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
84
|
-
savedToolIdentifier = ""
|
85
|
-
useCustomWorkingDirectory = "NO"
|
86
|
-
buildConfiguration = "Release"
|
87
|
-
debugDocumentVersioning = "YES">
|
88
|
-
<BuildableProductRunnable>
|
89
|
-
<BuildableReference
|
90
|
-
BuildableIdentifier = "primary"
|
91
|
-
BlueprintIdentifier = "B7402BC316C26CE70014570E"
|
92
|
-
BuildableName = "<%= config[:binary_name] %>.app"
|
93
|
-
BlueprintName = "<%= config[:target_name] %>"
|
94
|
-
ReferencedContainer = "container:<%= config[:project_name] %>.xcodeproj">
|
95
|
-
</BuildableReference>
|
96
|
-
</BuildableProductRunnable>
|
97
|
-
</ProfileAction>
|
98
|
-
<AnalyzeAction
|
99
|
-
buildConfiguration = "Debug">
|
100
|
-
</AnalyzeAction>
|
101
|
-
<ArchiveAction
|
102
|
-
buildConfiguration = "Release"
|
103
|
-
revealArchiveInOrganizer = "YES">
|
104
|
-
</ArchiveAction>
|
105
|
-
</Scheme>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Prefix header for all source files of the '<%= config[:project_name] %>' target in the '<%= config[:project_name] %>' project
|
3
|
-
//
|
4
|
-
|
5
|
-
#import <Availability.h>
|
6
|
-
|
7
|
-
#ifndef __IPHONE_3_0
|
8
|
-
#warning "This project uses features only available in iOS SDK 3.0 and later."
|
9
|
-
#endif
|
10
|
-
|
11
|
-
#ifdef __OBJC__
|
12
|
-
#import <UIKit/UIKit.h>
|
13
|
-
#import <Foundation/Foundation.h>
|
14
|
-
#endif
|
data/templates/default_project/xcode/%project_name%/%target_name%/Supporting Files/version.sh
DELETED
@@ -1,159 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
|
3
|
-
# Script for managing build and version numbers using git and agvtool.
|
4
|
-
|
5
|
-
# Change log:
|
6
|
-
# v1.0 18-Jul-11 First public release.
|
7
|
-
|
8
|
-
version() {
|
9
|
-
echo "version.sh 1.0 by Joachim Bondo <osteslag@gmail.com> http://osteslag.tumblr.com"
|
10
|
-
}
|
11
|
-
|
12
|
-
usage() {
|
13
|
-
version
|
14
|
-
cat << EOF >&2
|
15
|
-
|
16
|
-
Manages build and version numbers using git and agvtool.
|
17
|
-
|
18
|
-
Usage:
|
19
|
-
$(basename $0) [options]
|
20
|
-
|
21
|
-
Options:
|
22
|
-
--terse Prints the version number in the terse format
|
23
|
-
-s, --set Sets the version number using agvtool
|
24
|
-
-p, --plist-path <path> Write to the built Info.plist file directly
|
25
|
-
-b, --bump Bumps the build number
|
26
|
-
-q, --quiet Supresses output
|
27
|
-
-h, --help Displays this help text
|
28
|
-
-v, --version Displays script version number
|
29
|
-
|
30
|
-
Notes:
|
31
|
-
- If no options are given, the current versions are printed
|
32
|
-
- Specifying -s requires a --plist-path and uses the git tag
|
33
|
-
EOF
|
34
|
-
}
|
35
|
-
|
36
|
-
list() {
|
37
|
-
|
38
|
-
# List current project version and git version. Ignore $should_echo_output.
|
39
|
-
# If the --terse option is given, make the output terse.
|
40
|
-
|
41
|
-
# Add --abbrev=0 to reduce to latest git tag only (without commit count and SAH):
|
42
|
-
git_version=`git describe --tags`
|
43
|
-
git_version=`git describe --tags`
|
44
|
-
if [ -z "$git_version" ]; then
|
45
|
-
git_version="dev-"`git rev-parse --short HEAD`
|
46
|
-
fi
|
47
|
-
build_number=`agvtool what-version -terse`
|
48
|
-
|
49
|
-
if [ $# == 1 ]; then
|
50
|
-
echo "${git_version} (${build_number})"
|
51
|
-
else
|
52
|
-
echo "Version: ${git_version} (${build_number})"
|
53
|
-
fi
|
54
|
-
}
|
55
|
-
|
56
|
-
bump() {
|
57
|
-
|
58
|
-
# Bumps the build number, i.e. the number in parenthesis.
|
59
|
-
|
60
|
-
# Don't print the output of the command itself.
|
61
|
-
agvtool bump -all &> /dev/null
|
62
|
-
new_version=`agvtool what-version -terse`
|
63
|
-
if [ $should_echo_output == true ]; then
|
64
|
-
echo "Bumped build number to: ${new_version}"
|
65
|
-
fi
|
66
|
-
}
|
67
|
-
|
68
|
-
set_version() {
|
69
|
-
|
70
|
-
# Set the marketing version of the project.
|
71
|
-
# Take the number from git and apply it to the project.
|
72
|
-
# Any "v" prepended to the git tag will be removed.
|
73
|
-
|
74
|
-
# Get the current release description from git.
|
75
|
-
git_version=`git describe --tags`
|
76
|
-
|
77
|
-
# Check to see if the tag starts with with "v", and remove if so.
|
78
|
-
if [[ "${git_version}" == v* ]]; then
|
79
|
-
git_version="${git_version#*v}"
|
80
|
-
fi
|
81
|
-
|
82
|
-
# Set the project version.
|
83
|
-
|
84
|
-
# If we use agvtool for this, and this script runs as a build phase, Xcode
|
85
|
-
# insists on reloading the project file which is undesired. But if run from
|
86
|
-
# the command line, it makes good sense. If plist_path is not empty, we'll
|
87
|
-
# set the version number in it directly.
|
88
|
-
|
89
|
-
if [ -z "$1" ]; then
|
90
|
-
agvtool new-marketing-version "${git_version}" &> /dev/null
|
91
|
-
new_version=`agvtool what-marketing-version -terse1`
|
92
|
-
else
|
93
|
-
# Remove the (.plist) extension from the path.
|
94
|
-
defaults write "${1%.*}" 'CFBundleShortVersionString' "${git_version}" &> /dev/null
|
95
|
-
new_version=`defaults read "${1%.*}" 'CFBundleShortVersionString'`
|
96
|
-
fi
|
97
|
-
|
98
|
-
if [ $should_echo_output == true ]; then
|
99
|
-
echo "New version: ${new_version}"
|
100
|
-
fi
|
101
|
-
|
102
|
-
}
|
103
|
-
|
104
|
-
# --- Main entry point --------------------------------------------------------
|
105
|
-
|
106
|
-
# If we don't have any options, just list versions, or if terse, list terse.
|
107
|
-
if [ $# == 0 ]; then
|
108
|
-
list
|
109
|
-
exit 0
|
110
|
-
elif [ $# == 1 -a $1 == --terse ]; then
|
111
|
-
list --terse
|
112
|
-
exit 0
|
113
|
-
fi
|
114
|
-
|
115
|
-
# Set default values.
|
116
|
-
should_set_version_number=false
|
117
|
-
plist_path=""
|
118
|
-
should_echo_output=true
|
119
|
-
|
120
|
-
# Parse command line options.
|
121
|
-
while [ $# -gt 0 ]; do
|
122
|
-
# Check parameters.
|
123
|
-
case $1 in
|
124
|
-
-s | --set )
|
125
|
-
should_set_version_number=true
|
126
|
-
;;
|
127
|
-
-p | --plist-path )
|
128
|
-
plist_path=$2
|
129
|
-
shift;;
|
130
|
-
-b | --bump )
|
131
|
-
bump
|
132
|
-
;;
|
133
|
-
-q | --quiet )
|
134
|
-
should_echo_output=false
|
135
|
-
;;
|
136
|
-
-h | --help )
|
137
|
-
usage
|
138
|
-
exit 1;;
|
139
|
-
-v | --version )
|
140
|
-
version
|
141
|
-
exit 1;;
|
142
|
-
* ) # Unknown option
|
143
|
-
echo "Error: Unknown option '$1'" 1>&2
|
144
|
-
usage
|
145
|
-
exit 1;;
|
146
|
-
esac
|
147
|
-
shift
|
148
|
-
done
|
149
|
-
|
150
|
-
if [ $should_set_version_number == true ]; then
|
151
|
-
if [ ! -e "$plist_path" ]; then
|
152
|
-
echo "Error: File does not exist '$plist_path'. Specify a valid --plist-path." 1>&2
|
153
|
-
exit 1
|
154
|
-
else
|
155
|
-
set_version "$plist_path"
|
156
|
-
fi
|
157
|
-
fi
|
158
|
-
|
159
|
-
exit 0
|
data/templates/default_project/xcode/%project_name%/%tests_target_name%/%project_name%Tests.h.tt
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// __project_name__Tests.h
|
3
|
-
// <%= config[:project_name] %>Tests
|
4
|
-
//
|
5
|
-
// Created by <%= config[:project_creator] %> on 06/02/2013.
|
6
|
-
// Copyright (c) 2013 <%= config[:organization_name] %>. All rights reserved.
|
7
|
-
//
|
8
|
-
|
9
|
-
#import <SenTestingKit/SenTestingKit.h>
|
10
|
-
|
11
|
-
@interface <%= config[:project_name] %>Tests : SenTestCase
|
12
|
-
|
13
|
-
@end
|
data/templates/default_project/xcode/%project_name%/%tests_target_name%/%project_name%Tests.m.tt
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// __project_name__Tests.m
|
3
|
-
// <%= config[:project_name] %>Tests
|
4
|
-
//
|
5
|
-
// Created by <%= config[:project_creator] %> on 06/02/2013.
|
6
|
-
// Copyright (c) 2013 <%= config[:organization_name] %>. All rights reserved.
|
7
|
-
//
|
8
|
-
|
9
|
-
#import "<%= config[:project_name] %>Tests.h"
|
10
|
-
|
11
|
-
@implementation <%= config[:project_name] %>Tests
|
12
|
-
|
13
|
-
- (void)setUp
|
14
|
-
{
|
15
|
-
[super setUp];
|
16
|
-
|
17
|
-
// Set-up code here.
|
18
|
-
}
|
19
|
-
|
20
|
-
- (void)tearDown
|
21
|
-
{
|
22
|
-
// Tear-down code here.
|
23
|
-
|
24
|
-
[super tearDown];
|
25
|
-
}
|
26
|
-
|
27
|
-
- (void)testExample
|
28
|
-
{
|
29
|
-
STFail(@"Unit tests are not implemented yet in <%= config[:project_name] %>Tests");
|
30
|
-
}
|
31
|
-
|
32
|
-
@end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,41 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
|
6
|
-
<false/>
|
7
|
-
<key>IDESourceControlProjectIdentifier</key>
|
8
|
-
<string>64BBAE9C-2FE9-4350-BD1B-3FB93DCAFEF3</string>
|
9
|
-
<key>IDESourceControlProjectName</key>
|
10
|
-
<string><%= config[:project_name] %></string>
|
11
|
-
<key>IDESourceControlProjectOriginsDictionary</key>
|
12
|
-
<dict>
|
13
|
-
<key>1DA8957D-E094-4345-B1C8-04A269A6CCD5</key>
|
14
|
-
<string>ssh://github.com/FutureWorkshops/FWToolkit.git</string>
|
15
|
-
</dict>
|
16
|
-
<key>IDESourceControlProjectPath</key>
|
17
|
-
<string>meta_templates/meta_template/xcode/<%= config[:project_name] %>.xcworkspace</string>
|
18
|
-
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
|
19
|
-
<dict>
|
20
|
-
<key>1DA8957D-E094-4345-B1C8-04A269A6CCD5</key>
|
21
|
-
<string>../../../..</string>
|
22
|
-
</dict>
|
23
|
-
<key>IDESourceControlProjectURL</key>
|
24
|
-
<string>ssh://github.com/FutureWorkshops/FWToolkit.git</string>
|
25
|
-
<key>IDESourceControlProjectVersion</key>
|
26
|
-
<integer>110</integer>
|
27
|
-
<key>IDESourceControlProjectWCCIdentifier</key>
|
28
|
-
<string>1DA8957D-E094-4345-B1C8-04A269A6CCD5</string>
|
29
|
-
<key>IDESourceControlProjectWCConfigurations</key>
|
30
|
-
<array>
|
31
|
-
<dict>
|
32
|
-
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
|
33
|
-
<string>public.vcs.git</string>
|
34
|
-
<key>IDESourceControlWCCIdentifierKey</key>
|
35
|
-
<string>1DA8957D-E094-4345-B1C8-04A269A6CCD5</string>
|
36
|
-
<key>IDESourceControlWCCName</key>
|
37
|
-
<string>FWToolkit</string>
|
38
|
-
</dict>
|
39
|
-
</array>
|
40
|
-
</dict>
|
41
|
-
</plist>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
project_name: <%= config[:project_name] %> # required
|
2
|
-
class_prefix: <%= config[:class_prefix] %> # required
|
3
|
-
# target_name: <%= config[:target_name] %> # default: project_name
|
4
|
-
# binary_name: <%= config[:binary_name] %> # default: project_name
|
5
|
-
# xcode_scheme:
|
6
|
-
# develop:<%= config[:xcode_scheme][:dev] %> # default: project_name
|
7
|
-
# testing:<%= config[:xcode_scheme][:testing] %> # default: project_name-Testing
|
8
|
-
# release:<%= config[:xcode_scheme][:release] %> # default: project_name-Release
|
9
|
-
# tests_target_name: <%= config[:tests_target_name] %> # default: project_nameTests
|
10
|
-
# xcode_workspace: <%= config[:xcode_workspace] %> # default: [project_root]/project_name.xcworkspace
|
11
|
-
# xcode_project: <%= config[:xcode_project] %> # default: [project_root]/project_name/project_name.xcproj
|
12
|
-
# source_root: <%= config[:source_root] %> # default: [project_root]/project_name/target_name/
|
13
|
-
# tests_source_root: <%= config[:tests_source_root] %> # default: [project_root]/project_name/tests_target_name/
|
14
|
-
# frank_root: <%= config[:frank_root] %> # default: [project_root]/project_name/target_name/Frank
|