shellboxCLI 0.1.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 +7 -0
- data/bin/setup +8 -0
- data/bin/shellbox +6 -0
- data/lib/ShellboxCLI.rb +28 -0
- data/lib/ios/iosOption.rb +31 -0
- data/lib/ios/module/setup/ConfigureSwift.rb +33 -0
- data/lib/ios/module/setup/MessageBank.rb +52 -0
- data/lib/ios/module/setup/ProjectManipulator.rb +269 -0
- data/lib/ios/module/setup/Template_Configurator.rb +128 -0
- data/lib/ios/module/templates/Example/Example/Example/AppDelegate.swift +24 -0
- data/lib/ios/module/templates/Example/Example/Example/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- data/lib/ios/module/templates/Example/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json +98 -0
- data/lib/ios/module/templates/Example/Example/Example/Assets.xcassets/Contents.json +6 -0
- data/lib/ios/module/templates/Example/Example/Example/Base.lproj/LaunchScreen.storyboard +25 -0
- data/lib/ios/module/templates/Example/Example/Example/Info.plist +23 -0
- data/lib/ios/module/templates/Example/Example/Example/SceneDelegate.swift +19 -0
- data/lib/ios/module/templates/Example/Example/Example/ViewController.swift +13 -0
- data/lib/ios/module/templates/Example/Example/Example.xcodeproj/project.pbxproj +355 -0
- data/lib/ios/module/templates/Example/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/lib/ios/module/templates/Example/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/lib/ios/module/templates/Example/Example/Podfile +22 -0
- data/lib/ios/module/templates/Feature/Header_template +9 -0
- data/lib/ios/module/templates/Feature/Info_template +22 -0
- data/lib/ios/module/templates/Feature/bundle_template +20 -0
- data/lib/ios/module/templates/NAME.podspec +31 -0
- data/lib/ios/module/templates/NAMEInterface.podspec +24 -0
- data/lib/ios/module/templates/swiftgen.yml +13 -0
- metadata +113 -0
@@ -0,0 +1,98 @@
|
|
1
|
+
{
|
2
|
+
"images" : [
|
3
|
+
{
|
4
|
+
"idiom" : "iphone",
|
5
|
+
"scale" : "2x",
|
6
|
+
"size" : "20x20"
|
7
|
+
},
|
8
|
+
{
|
9
|
+
"idiom" : "iphone",
|
10
|
+
"scale" : "3x",
|
11
|
+
"size" : "20x20"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"idiom" : "iphone",
|
15
|
+
"scale" : "2x",
|
16
|
+
"size" : "29x29"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"idiom" : "iphone",
|
20
|
+
"scale" : "3x",
|
21
|
+
"size" : "29x29"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"idiom" : "iphone",
|
25
|
+
"scale" : "2x",
|
26
|
+
"size" : "40x40"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"idiom" : "iphone",
|
30
|
+
"scale" : "3x",
|
31
|
+
"size" : "40x40"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"idiom" : "iphone",
|
35
|
+
"scale" : "2x",
|
36
|
+
"size" : "60x60"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"idiom" : "iphone",
|
40
|
+
"scale" : "3x",
|
41
|
+
"size" : "60x60"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"idiom" : "ipad",
|
45
|
+
"scale" : "1x",
|
46
|
+
"size" : "20x20"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"idiom" : "ipad",
|
50
|
+
"scale" : "2x",
|
51
|
+
"size" : "20x20"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"idiom" : "ipad",
|
55
|
+
"scale" : "1x",
|
56
|
+
"size" : "29x29"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"idiom" : "ipad",
|
60
|
+
"scale" : "2x",
|
61
|
+
"size" : "29x29"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"idiom" : "ipad",
|
65
|
+
"scale" : "1x",
|
66
|
+
"size" : "40x40"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"idiom" : "ipad",
|
70
|
+
"scale" : "2x",
|
71
|
+
"size" : "40x40"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"idiom" : "ipad",
|
75
|
+
"scale" : "1x",
|
76
|
+
"size" : "76x76"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"idiom" : "ipad",
|
80
|
+
"scale" : "2x",
|
81
|
+
"size" : "76x76"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"idiom" : "ipad",
|
85
|
+
"scale" : "2x",
|
86
|
+
"size" : "83.5x83.5"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"idiom" : "ios-marketing",
|
90
|
+
"scale" : "1x",
|
91
|
+
"size" : "1024x1024"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"info" : {
|
95
|
+
"author" : "xcode",
|
96
|
+
"version" : 1
|
97
|
+
}
|
98
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
3
|
+
<dependencies>
|
4
|
+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
|
5
|
+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
6
|
+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
7
|
+
</dependencies>
|
8
|
+
<scenes>
|
9
|
+
<!--View Controller-->
|
10
|
+
<scene sceneID="EHf-IW-A2E">
|
11
|
+
<objects>
|
12
|
+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
13
|
+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
14
|
+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
15
|
+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
16
|
+
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
17
|
+
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
18
|
+
</view>
|
19
|
+
</viewController>
|
20
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
21
|
+
</objects>
|
22
|
+
<point key="canvasLocation" x="53" y="375"/>
|
23
|
+
</scene>
|
24
|
+
</scenes>
|
25
|
+
</document>
|
@@ -0,0 +1,23 @@
|
|
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>UIApplicationSceneManifest</key>
|
6
|
+
<dict>
|
7
|
+
<key>UIApplicationSupportsMultipleScenes</key>
|
8
|
+
<false/>
|
9
|
+
<key>UISceneConfigurations</key>
|
10
|
+
<dict>
|
11
|
+
<key>UIWindowSceneSessionRoleApplication</key>
|
12
|
+
<array>
|
13
|
+
<dict>
|
14
|
+
<key>UISceneConfigurationName</key>
|
15
|
+
<string>Default Configuration</string>
|
16
|
+
<key>UISceneDelegateClassName</key>
|
17
|
+
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
|
18
|
+
</dict>
|
19
|
+
</array>
|
20
|
+
</dict>
|
21
|
+
</dict>
|
22
|
+
</dict>
|
23
|
+
</plist>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import UIKit
|
2
|
+
|
3
|
+
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
|
4
|
+
|
5
|
+
var window: UIWindow?
|
6
|
+
|
7
|
+
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
|
8
|
+
guard let windowScene = (scene as? UIWindowScene) else { return }
|
9
|
+
setupRootViewController(windowScene: windowScene)
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
extension SceneDelegate {
|
14
|
+
func setupRootViewController(windowScene: UIWindowScene){
|
15
|
+
window = UIWindow(windowScene: windowScene)
|
16
|
+
window?.rootViewController = ViewController()
|
17
|
+
window?.makeKeyAndVisible()
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,355 @@
|
|
1
|
+
// !$*UTF8*$!
|
2
|
+
{
|
3
|
+
archiveVersion = 1;
|
4
|
+
classes = {
|
5
|
+
};
|
6
|
+
objectVersion = 55;
|
7
|
+
objects = {
|
8
|
+
|
9
|
+
/* Begin PBXBuildFile section */
|
10
|
+
19F9FFB52731C24D00B95474 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19F9FFB42731C24D00B95474 /* AppDelegate.swift */; };
|
11
|
+
19F9FFB72731C24D00B95474 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19F9FFB62731C24D00B95474 /* SceneDelegate.swift */; };
|
12
|
+
19F9FFB92731C24D00B95474 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19F9FFB82731C24D00B95474 /* ViewController.swift */; };
|
13
|
+
19F9FFBE2731C25200B95474 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 19F9FFBD2731C25200B95474 /* Assets.xcassets */; };
|
14
|
+
19F9FFC12731C25200B95474 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 19F9FFBF2731C25200B95474 /* LaunchScreen.storyboard */; };
|
15
|
+
/* End PBXBuildFile section */
|
16
|
+
|
17
|
+
/* Begin PBXFileReference section */
|
18
|
+
19F9FFB12731C24D00B95474 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
19
|
+
19F9FFB42731C24D00B95474 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
20
|
+
19F9FFB62731C24D00B95474 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
|
21
|
+
19F9FFB82731C24D00B95474 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
|
22
|
+
19F9FFBD2731C25200B95474 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
23
|
+
19F9FFC02731C25200B95474 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
24
|
+
19F9FFC22731C25200B95474 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
25
|
+
/* End PBXFileReference section */
|
26
|
+
|
27
|
+
/* Begin PBXFrameworksBuildPhase section */
|
28
|
+
19F9FFAE2731C24D00B95474 /* Frameworks */ = {
|
29
|
+
isa = PBXFrameworksBuildPhase;
|
30
|
+
buildActionMask = 2147483647;
|
31
|
+
files = (
|
32
|
+
);
|
33
|
+
runOnlyForDeploymentPostprocessing = 0;
|
34
|
+
};
|
35
|
+
/* End PBXFrameworksBuildPhase section */
|
36
|
+
|
37
|
+
/* Begin PBXGroup section */
|
38
|
+
19F9FFA82731C24D00B95474 = {
|
39
|
+
isa = PBXGroup;
|
40
|
+
children = (
|
41
|
+
19F9FFB32731C24D00B95474 /* Example */,
|
42
|
+
19F9FFB22731C24D00B95474 /* Products */,
|
43
|
+
);
|
44
|
+
sourceTree = "<group>";
|
45
|
+
};
|
46
|
+
19F9FFB22731C24D00B95474 /* Products */ = {
|
47
|
+
isa = PBXGroup;
|
48
|
+
children = (
|
49
|
+
19F9FFB12731C24D00B95474 /* Example.app */,
|
50
|
+
);
|
51
|
+
name = Products;
|
52
|
+
sourceTree = "<group>";
|
53
|
+
};
|
54
|
+
19F9FFB32731C24D00B95474 /* Example */ = {
|
55
|
+
isa = PBXGroup;
|
56
|
+
children = (
|
57
|
+
19F9FFB42731C24D00B95474 /* AppDelegate.swift */,
|
58
|
+
19F9FFB62731C24D00B95474 /* SceneDelegate.swift */,
|
59
|
+
19F9FFB82731C24D00B95474 /* ViewController.swift */,
|
60
|
+
19F9FFBD2731C25200B95474 /* Assets.xcassets */,
|
61
|
+
19F9FFBF2731C25200B95474 /* LaunchScreen.storyboard */,
|
62
|
+
19F9FFC22731C25200B95474 /* Info.plist */,
|
63
|
+
);
|
64
|
+
path = Example;
|
65
|
+
sourceTree = "<group>";
|
66
|
+
};
|
67
|
+
/* End PBXGroup section */
|
68
|
+
|
69
|
+
/* Begin PBXNativeTarget section */
|
70
|
+
19F9FFB02731C24D00B95474 /* Example */ = {
|
71
|
+
isa = PBXNativeTarget;
|
72
|
+
buildConfigurationList = 19F9FFC52731C25200B95474 /* Build configuration list for PBXNativeTarget "Example" */;
|
73
|
+
buildPhases = (
|
74
|
+
19F9FFAD2731C24D00B95474 /* Sources */,
|
75
|
+
19F9FFAE2731C24D00B95474 /* Frameworks */,
|
76
|
+
19F9FFAF2731C24D00B95474 /* Resources */,
|
77
|
+
);
|
78
|
+
buildRules = (
|
79
|
+
);
|
80
|
+
dependencies = (
|
81
|
+
);
|
82
|
+
name = Example;
|
83
|
+
productName = Example;
|
84
|
+
productReference = 19F9FFB12731C24D00B95474 /* Example.app */;
|
85
|
+
productType = "com.apple.product-type.application";
|
86
|
+
};
|
87
|
+
/* End PBXNativeTarget section */
|
88
|
+
|
89
|
+
/* Begin PBXProject section */
|
90
|
+
19F9FFA92731C24D00B95474 /* Project object */ = {
|
91
|
+
isa = PBXProject;
|
92
|
+
attributes = {
|
93
|
+
BuildIndependentTargetsInParallel = 1;
|
94
|
+
LastSwiftUpdateCheck = 1310;
|
95
|
+
LastUpgradeCheck = 1310;
|
96
|
+
TargetAttributes = {
|
97
|
+
19F9FFB02731C24D00B95474 = {
|
98
|
+
CreatedOnToolsVersion = 13.1;
|
99
|
+
};
|
100
|
+
};
|
101
|
+
};
|
102
|
+
buildConfigurationList = 19F9FFAC2731C24D00B95474 /* Build configuration list for PBXProject "Example" */;
|
103
|
+
compatibilityVersion = "Xcode 13.0";
|
104
|
+
developmentRegion = en;
|
105
|
+
hasScannedForEncodings = 0;
|
106
|
+
knownRegions = (
|
107
|
+
en,
|
108
|
+
Base,
|
109
|
+
);
|
110
|
+
mainGroup = 19F9FFA82731C24D00B95474;
|
111
|
+
productRefGroup = 19F9FFB22731C24D00B95474 /* Products */;
|
112
|
+
projectDirPath = "";
|
113
|
+
projectRoot = "";
|
114
|
+
targets = (
|
115
|
+
19F9FFB02731C24D00B95474 /* Example */,
|
116
|
+
);
|
117
|
+
};
|
118
|
+
/* End PBXProject section */
|
119
|
+
|
120
|
+
/* Begin PBXResourcesBuildPhase section */
|
121
|
+
19F9FFAF2731C24D00B95474 /* Resources */ = {
|
122
|
+
isa = PBXResourcesBuildPhase;
|
123
|
+
buildActionMask = 2147483647;
|
124
|
+
files = (
|
125
|
+
19F9FFC12731C25200B95474 /* LaunchScreen.storyboard in Resources */,
|
126
|
+
19F9FFBE2731C25200B95474 /* Assets.xcassets in Resources */,
|
127
|
+
);
|
128
|
+
runOnlyForDeploymentPostprocessing = 0;
|
129
|
+
};
|
130
|
+
/* End PBXResourcesBuildPhase section */
|
131
|
+
|
132
|
+
/* Begin PBXSourcesBuildPhase section */
|
133
|
+
19F9FFAD2731C24D00B95474 /* Sources */ = {
|
134
|
+
isa = PBXSourcesBuildPhase;
|
135
|
+
buildActionMask = 2147483647;
|
136
|
+
files = (
|
137
|
+
19F9FFB92731C24D00B95474 /* ViewController.swift in Sources */,
|
138
|
+
19F9FFB52731C24D00B95474 /* AppDelegate.swift in Sources */,
|
139
|
+
19F9FFB72731C24D00B95474 /* SceneDelegate.swift in Sources */,
|
140
|
+
);
|
141
|
+
runOnlyForDeploymentPostprocessing = 0;
|
142
|
+
};
|
143
|
+
/* End PBXSourcesBuildPhase section */
|
144
|
+
|
145
|
+
/* Begin PBXVariantGroup section */
|
146
|
+
19F9FFBF2731C25200B95474 /* LaunchScreen.storyboard */ = {
|
147
|
+
isa = PBXVariantGroup;
|
148
|
+
children = (
|
149
|
+
19F9FFC02731C25200B95474 /* Base */,
|
150
|
+
);
|
151
|
+
name = LaunchScreen.storyboard;
|
152
|
+
sourceTree = "<group>";
|
153
|
+
};
|
154
|
+
/* End PBXVariantGroup section */
|
155
|
+
|
156
|
+
/* Begin XCBuildConfiguration section */
|
157
|
+
19F9FFC32731C25200B95474 /* Debug */ = {
|
158
|
+
isa = XCBuildConfiguration;
|
159
|
+
buildSettings = {
|
160
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
161
|
+
CLANG_ANALYZER_NONNULL = YES;
|
162
|
+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
163
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
|
164
|
+
CLANG_CXX_LIBRARY = "libc++";
|
165
|
+
CLANG_ENABLE_MODULES = YES;
|
166
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
167
|
+
CLANG_ENABLE_OBJC_WEAK = YES;
|
168
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
169
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
170
|
+
CLANG_WARN_COMMA = YES;
|
171
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
172
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
173
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
174
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
175
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
176
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
177
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
178
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
179
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
180
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
181
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
182
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
183
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
184
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
185
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
186
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
187
|
+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
188
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
189
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
190
|
+
COPY_PHASE_STRIP = NO;
|
191
|
+
DEBUG_INFORMATION_FORMAT = dwarf;
|
192
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
193
|
+
ENABLE_TESTABILITY = YES;
|
194
|
+
GCC_C_LANGUAGE_STANDARD = gnu11;
|
195
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
196
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
197
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
198
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
199
|
+
"DEBUG=1",
|
200
|
+
"$(inherited)",
|
201
|
+
);
|
202
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
203
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
204
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
205
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
206
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
207
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
208
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
209
|
+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
210
|
+
MTL_FAST_MATH = YES;
|
211
|
+
ONLY_ACTIVE_ARCH = YES;
|
212
|
+
SDKROOT = iphoneos;
|
213
|
+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
214
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
215
|
+
};
|
216
|
+
name = Debug;
|
217
|
+
};
|
218
|
+
19F9FFC42731C25200B95474 /* Release */ = {
|
219
|
+
isa = XCBuildConfiguration;
|
220
|
+
buildSettings = {
|
221
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
222
|
+
CLANG_ANALYZER_NONNULL = YES;
|
223
|
+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
224
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
|
225
|
+
CLANG_CXX_LIBRARY = "libc++";
|
226
|
+
CLANG_ENABLE_MODULES = YES;
|
227
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
228
|
+
CLANG_ENABLE_OBJC_WEAK = YES;
|
229
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
230
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
231
|
+
CLANG_WARN_COMMA = YES;
|
232
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
233
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
234
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
235
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
236
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
237
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
238
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
239
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
240
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
241
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
242
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
243
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
244
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
245
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
246
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
247
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
248
|
+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
249
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
250
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
251
|
+
COPY_PHASE_STRIP = NO;
|
252
|
+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
253
|
+
ENABLE_NS_ASSERTIONS = NO;
|
254
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
255
|
+
GCC_C_LANGUAGE_STANDARD = gnu11;
|
256
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
257
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
258
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
259
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
260
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
261
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
262
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
263
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
264
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
265
|
+
MTL_FAST_MATH = YES;
|
266
|
+
SDKROOT = iphoneos;
|
267
|
+
SWIFT_COMPILATION_MODE = wholemodule;
|
268
|
+
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
269
|
+
VALIDATE_PRODUCT = YES;
|
270
|
+
};
|
271
|
+
name = Release;
|
272
|
+
};
|
273
|
+
19F9FFC62731C25200B95474 /* Debug */ = {
|
274
|
+
isa = XCBuildConfiguration;
|
275
|
+
buildSettings = {
|
276
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
277
|
+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
278
|
+
CODE_SIGN_STYLE = Automatic;
|
279
|
+
CURRENT_PROJECT_VERSION = 1;
|
280
|
+
DEVELOPMENT_TEAM = 88A2J39RZ6;
|
281
|
+
GENERATE_INFOPLIST_FILE = YES;
|
282
|
+
INFOPLIST_FILE = Example/Info.plist;
|
283
|
+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
284
|
+
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
285
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
|
286
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
287
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
288
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
289
|
+
LD_RUNPATH_SEARCH_PATHS = (
|
290
|
+
"$(inherited)",
|
291
|
+
"@executable_path/Frameworks",
|
292
|
+
);
|
293
|
+
MARKETING_VERSION = 1.0;
|
294
|
+
PRODUCT_BUNDLE_IDENTIFIER = raizen.Acelera.Example;
|
295
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
296
|
+
SWIFT_EMIT_LOC_STRINGS = YES;
|
297
|
+
SWIFT_VERSION = 5.0;
|
298
|
+
TARGETED_DEVICE_FAMILY = 1;
|
299
|
+
};
|
300
|
+
name = Debug;
|
301
|
+
};
|
302
|
+
19F9FFC72731C25200B95474 /* Release */ = {
|
303
|
+
isa = XCBuildConfiguration;
|
304
|
+
buildSettings = {
|
305
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
306
|
+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
307
|
+
CODE_SIGN_STYLE = Automatic;
|
308
|
+
CURRENT_PROJECT_VERSION = 1;
|
309
|
+
DEVELOPMENT_TEAM = 88A2J39RZ6;
|
310
|
+
GENERATE_INFOPLIST_FILE = YES;
|
311
|
+
INFOPLIST_FILE = Example/Info.plist;
|
312
|
+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
313
|
+
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
314
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
|
315
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
316
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
317
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
318
|
+
LD_RUNPATH_SEARCH_PATHS = (
|
319
|
+
"$(inherited)",
|
320
|
+
"@executable_path/Frameworks",
|
321
|
+
);
|
322
|
+
MARKETING_VERSION = 1.0;
|
323
|
+
PRODUCT_BUNDLE_IDENTIFIER = raizen.Acelera.Example;
|
324
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
325
|
+
SWIFT_EMIT_LOC_STRINGS = YES;
|
326
|
+
SWIFT_VERSION = 5.0;
|
327
|
+
TARGETED_DEVICE_FAMILY = 1;
|
328
|
+
};
|
329
|
+
name = Release;
|
330
|
+
};
|
331
|
+
/* End XCBuildConfiguration section */
|
332
|
+
|
333
|
+
/* Begin XCConfigurationList section */
|
334
|
+
19F9FFAC2731C24D00B95474 /* Build configuration list for PBXProject "Example" */ = {
|
335
|
+
isa = XCConfigurationList;
|
336
|
+
buildConfigurations = (
|
337
|
+
19F9FFC32731C25200B95474 /* Debug */,
|
338
|
+
19F9FFC42731C25200B95474 /* Release */,
|
339
|
+
);
|
340
|
+
defaultConfigurationIsVisible = 0;
|
341
|
+
defaultConfigurationName = Release;
|
342
|
+
};
|
343
|
+
19F9FFC52731C25200B95474 /* Build configuration list for PBXNativeTarget "Example" */ = {
|
344
|
+
isa = XCConfigurationList;
|
345
|
+
buildConfigurations = (
|
346
|
+
19F9FFC62731C25200B95474 /* Debug */,
|
347
|
+
19F9FFC72731C25200B95474 /* Release */,
|
348
|
+
);
|
349
|
+
defaultConfigurationIsVisible = 0;
|
350
|
+
defaultConfigurationName = Release;
|
351
|
+
};
|
352
|
+
/* End XCConfigurationList section */
|
353
|
+
};
|
354
|
+
rootObject = 19F9FFA92731C24D00B95474 /* Project object */;
|
355
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
platform :ios, '13.0'
|
2
|
+
|
3
|
+
inhibit_all_warnings!
|
4
|
+
use_modular_headers!
|
5
|
+
|
6
|
+
target 'Example' do
|
7
|
+
|
8
|
+
project 'Example.xcodeproj'
|
9
|
+
|
10
|
+
##################
|
11
|
+
## DEV PODS ##
|
12
|
+
##################
|
13
|
+
|
14
|
+
${DEV_PODS}
|
15
|
+
|
16
|
+
#######################
|
17
|
+
## INTERNAL PODS ##
|
18
|
+
#######################
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
#import <Foundation/Foundation.h>
|
2
|
+
|
3
|
+
//! Project version number for ${POD_NAME}.
|
4
|
+
FOUNDATION_EXPORT double ${POD_NAME}VersionNumber;
|
5
|
+
|
6
|
+
//! Project version string for ${POD_NAME}.
|
7
|
+
FOUNDATION_EXPORT const unsigned char ${POD_NAME}VersionString[];
|
8
|
+
|
9
|
+
// In this header, you should import all the public headers of your framework using statements like #import <${POD_NAME}/PublicHeader.h>
|
@@ -0,0 +1,22 @@
|
|
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>CFBundleDevelopmentRegion</key>
|
6
|
+
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
7
|
+
<key>CFBundleExecutable</key>
|
8
|
+
<string>$(EXECUTABLE_NAME)</string>
|
9
|
+
<key>CFBundleIdentifier</key>
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
12
|
+
<string>6.0</string>
|
13
|
+
<key>CFBundleName</key>
|
14
|
+
<string>$(PRODUCT_NAME)</string>
|
15
|
+
<key>CFBundlePackageType</key>
|
16
|
+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
17
|
+
<key>CFBundleShortVersionString</key>
|
18
|
+
<string>1.0</string>
|
19
|
+
<key>CFBundleVersion</key>
|
20
|
+
<string>$(CURRENT_PROJECT_VERSION)</string>
|
21
|
+
</dict>
|
22
|
+
</plist>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
private class ModuleBundle {}
|
2
|
+
|
3
|
+
enum Environment {
|
4
|
+
static let resourcesBundleName = "${POD_NAME}"
|
5
|
+
}
|
6
|
+
|
7
|
+
extension Bundle {
|
8
|
+
|
9
|
+
static var moduleBundle: Bundle {
|
10
|
+
let podBundle = Bundle(for: ModuleBundle.self)
|
11
|
+
guard
|
12
|
+
let bundleURL = podBundle.url(forResource: Environment.resourcesBundleName, withExtension: "bundle"),
|
13
|
+
let bundle = Bundle(url: bundleURL)
|
14
|
+
else {
|
15
|
+
return .main
|
16
|
+
}
|
17
|
+
return bundle
|
18
|
+
}
|
19
|
+
|
20
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
Pod::Spec.new do |s|
|
2
|
+
|
3
|
+
s.name = '${POD_NAME}'
|
4
|
+
s.version = '0.1.0'
|
5
|
+
s.summary = '${POD_NAME} Module'
|
6
|
+
s.homepage = 'https://bitbucket.org/acelera'
|
7
|
+
s.author = { '${USER_NAME}' => '${USER_EMAIL}' }
|
8
|
+
s.source = { :git => 'https://bitbucket.org/acelera/${POD_NAME}', :tag => s.version.to_s }
|
9
|
+
s.platform = :ios, '13.0'
|
10
|
+
s.public_header_files = '${POD_NAME}/Resources/*.h'
|
11
|
+
|
12
|
+
s.preserve_paths = '${POD_NAME}/Sources/**/*'
|
13
|
+
s.source_files = '${POD_NAME}/Sources/**/*.{swift,h,m}', '${POD_NAME}/Resources/*.{strings,h}'
|
14
|
+
|
15
|
+
s.resource_bundles = {
|
16
|
+
'${POD_NAME}' => ['${POD_NAME}/Resources/**/*.{strings,xcassets,json}']
|
17
|
+
}
|
18
|
+
|
19
|
+
s.subspec 'Generated' do |ss|
|
20
|
+
ss.source_files = '${POD_NAME}/Resources/Strings.swift', '${POD_NAME}/Resources/Assets.swift'
|
21
|
+
end
|
22
|
+
|
23
|
+
# INTERNAL DEPENDENCY
|
24
|
+
${FEATURE_INTERNAL}
|
25
|
+
|
26
|
+
|
27
|
+
# THIRTY PARTY
|
28
|
+
|
29
|
+
${FEATURE_TEST}
|
30
|
+
|
31
|
+
end
|