cocoapods-ykutility 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/lib/cocoapods-ykutility/command/Ykutility.rb +33 -0
  3. data/lib/cocoapods-ykutility/command/ykutility/create.rb +74 -0
  4. data/lib/cocoapods-ykutility/command.rb +1 -0
  5. data/lib/cocoapods-ykutility/function/yk_create_pod_action.rb +117 -0
  6. data/lib/cocoapods-ykutility/function/yk_create_pod_config.rb +22 -0
  7. data/lib/cocoapods-ykutility/function/yk_exchange_tool.rb +45 -0
  8. data/lib/cocoapods-ykutility/function/yk_log_tool.rb +21 -0
  9. data/lib/cocoapods-ykutility/gem_version.rb +4 -0
  10. data/lib/cocoapods-ykutility.rb +1 -0
  11. data/lib/cocoapods_plugin.rb +1 -0
  12. data/podTemplate/example/Podfile +44 -0
  13. data/podTemplate/example/Podfile.lock +16 -0
  14. data/podTemplate/example/YKRPC_POD_NAME_Example/AppDelegate.swift +36 -0
  15. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
  16. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/AppIcon.appiconset/Contents.json +13 -0
  17. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/Contents.json +6 -0
  18. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/icon.imageset/Contents.json +21 -0
  19. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/icon.imageset/icon.png +0 -0
  20. data/podTemplate/example/YKRPC_POD_NAME_Example/Base.lproj/LaunchScreen.storyboard +55 -0
  21. data/podTemplate/example/YKRPC_POD_NAME_Example/Base.lproj/Main.storyboard +65 -0
  22. data/podTemplate/example/YKRPC_POD_NAME_Example/Info.plist +25 -0
  23. data/podTemplate/example/YKRPC_POD_NAME_Example/SceneDelegate.swift +52 -0
  24. data/podTemplate/example/YKRPC_POD_NAME_Example/ViewController.swift +20 -0
  25. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.pbxproj +362 -0
  26. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  27. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  28. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.xcworkspace/xcuserdata/imac24inch.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  29. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/xcuserdata/imac24inch.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  30. data/podTemplate/objc/LICENSE +19 -0
  31. data/podTemplate/objc/README.md +60 -0
  32. data/podTemplate/objc/YKRPC_POD_NAME/Assets/Images.xcassets/.gitkeep +0 -0
  33. data/podTemplate/objc/YKRPC_POD_NAME/Private/.gitkeep +0 -0
  34. data/podTemplate/objc/YKRPC_POD_NAME/Public/YKRPC_POD_NAME.h +16 -0
  35. data/podTemplate/objc/YKRPC_POD_NAME/Public/YKRPC_POD_NAME.m +12 -0
  36. data/podTemplate/objc/YKRPC_POD_NAME.podspec +61 -0
  37. data/podTemplate/swift/LICENSE +19 -0
  38. data/podTemplate/swift/README.md +60 -0
  39. data/podTemplate/swift/YKRPC_POD_NAME/Assets/Images.xcassets/.gitkeep +0 -0
  40. data/podTemplate/swift/YKRPC_POD_NAME/Private/.gitkeep +0 -0
  41. data/podTemplate/swift/YKRPC_POD_NAME/Public/YKRPC_POD_NAME.swift +6 -0
  42. data/podTemplate/swift/YKRPC_POD_NAME.podspec +61 -0
  43. metadata +84 -0
@@ -0,0 +1,52 @@
1
+ //
2
+ // SceneDelegate.swift
3
+ // YKRPC_POD_NAME_Example
4
+ //
5
+ // Created by YKPRC_AUTHOR_NAME on YKPRC_CREATE_DATE.
6
+ //
7
+
8
+ import UIKit
9
+
10
+ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
11
+
12
+ var window: UIWindow?
13
+
14
+
15
+ func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
16
+ // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
17
+ // If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
18
+ // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
19
+ guard let _ = (scene as? UIWindowScene) else { return }
20
+ }
21
+
22
+ func sceneDidDisconnect(_ scene: UIScene) {
23
+ // Called as the scene is being released by the system.
24
+ // This occurs shortly after the scene enters the background, or when its session is discarded.
25
+ // Release any resources associated with this scene that can be re-created the next time the scene connects.
26
+ // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
27
+ }
28
+
29
+ func sceneDidBecomeActive(_ scene: UIScene) {
30
+ // Called when the scene has moved from an inactive state to an active state.
31
+ // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
32
+ }
33
+
34
+ func sceneWillResignActive(_ scene: UIScene) {
35
+ // Called when the scene will move from an active state to an inactive state.
36
+ // This may occur due to temporary interruptions (ex. an incoming phone call).
37
+ }
38
+
39
+ func sceneWillEnterForeground(_ scene: UIScene) {
40
+ // Called as the scene transitions from the background to the foreground.
41
+ // Use this method to undo the changes made on entering the background.
42
+ }
43
+
44
+ func sceneDidEnterBackground(_ scene: UIScene) {
45
+ // Called as the scene transitions from the foreground to the background.
46
+ // Use this method to save data, release shared resources, and store enough scene-specific state information
47
+ // to restore the scene back to its current state.
48
+ }
49
+
50
+
51
+ }
52
+
@@ -0,0 +1,20 @@
1
+ //
2
+ // ViewController.swift
3
+ // YKRPC_POD_NAME_Example
4
+ //
5
+ // Created by YKPRC_AUTHOR_NAME on YKPRC_CREATE_DATE.
6
+ //
7
+
8
+ import UIKit
9
+ import YKRPC_POD_NAME
10
+
11
+ class ViewController: UIViewController {
12
+
13
+ override func viewDidLoad() {
14
+ super.viewDidLoad()
15
+ // Do any additional setup after loading the view.
16
+ }
17
+
18
+
19
+ }
20
+
@@ -0,0 +1,362 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 56;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ FDDD8566299DED6500EAB62E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDDD8565299DED6500EAB62E /* AppDelegate.swift */; };
11
+ FDDD8568299DED6500EAB62E /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDDD8567299DED6500EAB62E /* SceneDelegate.swift */; };
12
+ FDDD856A299DED6500EAB62E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDDD8569299DED6500EAB62E /* ViewController.swift */; };
13
+ FDDD856D299DED6500EAB62E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FDDD856B299DED6500EAB62E /* Main.storyboard */; };
14
+ FDDD856F299DED6600EAB62E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FDDD856E299DED6600EAB62E /* Assets.xcassets */; };
15
+ FDDD8572299DED6600EAB62E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FDDD8570299DED6600EAB62E /* LaunchScreen.storyboard */; };
16
+ /* End PBXBuildFile section */
17
+
18
+ /* Begin PBXFileReference section */
19
+ FDDD8562299DED6500EAB62E /* YKRPC_POD_NAME_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YKRPC_POD_NAME_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
20
+ FDDD8565299DED6500EAB62E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
21
+ FDDD8567299DED6500EAB62E /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
22
+ FDDD8569299DED6500EAB62E /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
23
+ FDDD856C299DED6500EAB62E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
24
+ FDDD856E299DED6600EAB62E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
25
+ FDDD8571299DED6600EAB62E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
26
+ FDDD8573299DED6600EAB62E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
27
+ /* End PBXFileReference section */
28
+
29
+ /* Begin PBXFrameworksBuildPhase section */
30
+ FDDD855F299DED6500EAB62E /* Frameworks */ = {
31
+ isa = PBXFrameworksBuildPhase;
32
+ buildActionMask = 2147483647;
33
+ files = (
34
+ );
35
+ runOnlyForDeploymentPostprocessing = 0;
36
+ };
37
+ /* End PBXFrameworksBuildPhase section */
38
+
39
+ /* Begin PBXGroup section */
40
+ FDDD8559299DED6500EAB62E = {
41
+ isa = PBXGroup;
42
+ children = (
43
+ FDDD8564299DED6500EAB62E /* YKRPC_POD_NAME_Example */,
44
+ FDDD8563299DED6500EAB62E /* Products */,
45
+ );
46
+ sourceTree = "<group>";
47
+ };
48
+ FDDD8563299DED6500EAB62E /* Products */ = {
49
+ isa = PBXGroup;
50
+ children = (
51
+ FDDD8562299DED6500EAB62E /* YKRPC_POD_NAME_Example.app */,
52
+ );
53
+ name = Products;
54
+ sourceTree = "<group>";
55
+ };
56
+ FDDD8564299DED6500EAB62E /* YKRPC_POD_NAME_Example */ = {
57
+ isa = PBXGroup;
58
+ children = (
59
+ FDDD8565299DED6500EAB62E /* AppDelegate.swift */,
60
+ FDDD8567299DED6500EAB62E /* SceneDelegate.swift */,
61
+ FDDD8569299DED6500EAB62E /* ViewController.swift */,
62
+ FDDD856B299DED6500EAB62E /* Main.storyboard */,
63
+ FDDD856E299DED6600EAB62E /* Assets.xcassets */,
64
+ FDDD8570299DED6600EAB62E /* LaunchScreen.storyboard */,
65
+ FDDD8573299DED6600EAB62E /* Info.plist */,
66
+ );
67
+ path = YKRPC_POD_NAME_Example;
68
+ sourceTree = "<group>";
69
+ };
70
+ /* End PBXGroup section */
71
+
72
+ /* Begin PBXNativeTarget section */
73
+ FDDD8561299DED6500EAB62E /* YKRPC_POD_NAME_Example */ = {
74
+ isa = PBXNativeTarget;
75
+ buildConfigurationList = FDDD8576299DED6600EAB62E /* Build configuration list for PBXNativeTarget "YKRPC_POD_NAME_Example" */;
76
+ buildPhases = (
77
+ FDDD855E299DED6500EAB62E /* Sources */,
78
+ FDDD855F299DED6500EAB62E /* Frameworks */,
79
+ FDDD8560299DED6500EAB62E /* Resources */,
80
+ );
81
+ buildRules = (
82
+ );
83
+ dependencies = (
84
+ );
85
+ name = YKRPC_POD_NAME_Example;
86
+ productName = YKRPC_POD_NAME_Example;
87
+ productReference = FDDD8562299DED6500EAB62E /* YKRPC_POD_NAME_Example.app */;
88
+ productType = "com.apple.product-type.application";
89
+ };
90
+ /* End PBXNativeTarget section */
91
+
92
+ /* Begin PBXProject section */
93
+ FDDD855A299DED6500EAB62E /* Project object */ = {
94
+ isa = PBXProject;
95
+ attributes = {
96
+ BuildIndependentTargetsInParallel = 1;
97
+ CLASSPREFIX = YKPRC_CLASS_PREFIX;
98
+ LastSwiftUpdateCheck = 1410;
99
+ LastUpgradeCheck = 1410;
100
+ TargetAttributes = {
101
+ FDDD8561299DED6500EAB62E = {
102
+ CreatedOnToolsVersion = 14.1;
103
+ };
104
+ };
105
+ };
106
+ buildConfigurationList = FDDD855D299DED6500EAB62E /* Build configuration list for PBXProject "YKRPC_POD_NAME_Example" */;
107
+ compatibilityVersion = "Xcode 14.0";
108
+ developmentRegion = en;
109
+ hasScannedForEncodings = 0;
110
+ knownRegions = (
111
+ en,
112
+ Base,
113
+ );
114
+ mainGroup = FDDD8559299DED6500EAB62E;
115
+ productRefGroup = FDDD8563299DED6500EAB62E /* Products */;
116
+ projectDirPath = "";
117
+ projectRoot = "";
118
+ targets = (
119
+ FDDD8561299DED6500EAB62E /* YKRPC_POD_NAME_Example */,
120
+ );
121
+ };
122
+ /* End PBXProject section */
123
+
124
+ /* Begin PBXResourcesBuildPhase section */
125
+ FDDD8560299DED6500EAB62E /* Resources */ = {
126
+ isa = PBXResourcesBuildPhase;
127
+ buildActionMask = 2147483647;
128
+ files = (
129
+ FDDD8572299DED6600EAB62E /* LaunchScreen.storyboard in Resources */,
130
+ FDDD856F299DED6600EAB62E /* Assets.xcassets in Resources */,
131
+ FDDD856D299DED6500EAB62E /* Main.storyboard in Resources */,
132
+ );
133
+ runOnlyForDeploymentPostprocessing = 0;
134
+ };
135
+ /* End PBXResourcesBuildPhase section */
136
+
137
+ /* Begin PBXSourcesBuildPhase section */
138
+ FDDD855E299DED6500EAB62E /* Sources */ = {
139
+ isa = PBXSourcesBuildPhase;
140
+ buildActionMask = 2147483647;
141
+ files = (
142
+ FDDD856A299DED6500EAB62E /* ViewController.swift in Sources */,
143
+ FDDD8566299DED6500EAB62E /* AppDelegate.swift in Sources */,
144
+ FDDD8568299DED6500EAB62E /* SceneDelegate.swift in Sources */,
145
+ );
146
+ runOnlyForDeploymentPostprocessing = 0;
147
+ };
148
+ /* End PBXSourcesBuildPhase section */
149
+
150
+ /* Begin PBXVariantGroup section */
151
+ FDDD856B299DED6500EAB62E /* Main.storyboard */ = {
152
+ isa = PBXVariantGroup;
153
+ children = (
154
+ FDDD856C299DED6500EAB62E /* Base */,
155
+ );
156
+ name = Main.storyboard;
157
+ sourceTree = "<group>";
158
+ };
159
+ FDDD8570299DED6600EAB62E /* LaunchScreen.storyboard */ = {
160
+ isa = PBXVariantGroup;
161
+ children = (
162
+ FDDD8571299DED6600EAB62E /* Base */,
163
+ );
164
+ name = LaunchScreen.storyboard;
165
+ sourceTree = "<group>";
166
+ };
167
+ /* End PBXVariantGroup section */
168
+
169
+ /* Begin XCBuildConfiguration section */
170
+ FDDD8574299DED6600EAB62E /* Debug */ = {
171
+ isa = XCBuildConfiguration;
172
+ buildSettings = {
173
+ ALWAYS_SEARCH_USER_PATHS = NO;
174
+ CLANG_ANALYZER_NONNULL = YES;
175
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
176
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
177
+ CLANG_ENABLE_MODULES = YES;
178
+ CLANG_ENABLE_OBJC_ARC = YES;
179
+ CLANG_ENABLE_OBJC_WEAK = YES;
180
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
181
+ CLANG_WARN_BOOL_CONVERSION = YES;
182
+ CLANG_WARN_COMMA = YES;
183
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
184
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
185
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
186
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
187
+ CLANG_WARN_EMPTY_BODY = YES;
188
+ CLANG_WARN_ENUM_CONVERSION = YES;
189
+ CLANG_WARN_INFINITE_RECURSION = YES;
190
+ CLANG_WARN_INT_CONVERSION = YES;
191
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
192
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
193
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
194
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
195
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
196
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
197
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
198
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
199
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
200
+ CLANG_WARN_UNREACHABLE_CODE = YES;
201
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
202
+ COPY_PHASE_STRIP = NO;
203
+ DEBUG_INFORMATION_FORMAT = dwarf;
204
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
205
+ ENABLE_TESTABILITY = YES;
206
+ GCC_C_LANGUAGE_STANDARD = gnu11;
207
+ GCC_DYNAMIC_NO_PIC = NO;
208
+ GCC_NO_COMMON_BLOCKS = YES;
209
+ GCC_OPTIMIZATION_LEVEL = 0;
210
+ GCC_PREPROCESSOR_DEFINITIONS = (
211
+ "DEBUG=1",
212
+ "$(inherited)",
213
+ );
214
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
215
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
216
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
217
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
218
+ GCC_WARN_UNUSED_FUNCTION = YES;
219
+ GCC_WARN_UNUSED_VARIABLE = YES;
220
+ IPHONEOS_DEPLOYMENT_TARGET = 16.1;
221
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
222
+ MTL_FAST_MATH = YES;
223
+ ONLY_ACTIVE_ARCH = YES;
224
+ SDKROOT = iphoneos;
225
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
226
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
227
+ };
228
+ name = Debug;
229
+ };
230
+ FDDD8575299DED6600EAB62E /* Release */ = {
231
+ isa = XCBuildConfiguration;
232
+ buildSettings = {
233
+ ALWAYS_SEARCH_USER_PATHS = NO;
234
+ CLANG_ANALYZER_NONNULL = YES;
235
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
236
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
237
+ CLANG_ENABLE_MODULES = YES;
238
+ CLANG_ENABLE_OBJC_ARC = YES;
239
+ CLANG_ENABLE_OBJC_WEAK = YES;
240
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
241
+ CLANG_WARN_BOOL_CONVERSION = YES;
242
+ CLANG_WARN_COMMA = YES;
243
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
244
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
245
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
246
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
247
+ CLANG_WARN_EMPTY_BODY = YES;
248
+ CLANG_WARN_ENUM_CONVERSION = YES;
249
+ CLANG_WARN_INFINITE_RECURSION = YES;
250
+ CLANG_WARN_INT_CONVERSION = YES;
251
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
252
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
253
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
254
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
255
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
256
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
257
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
258
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
259
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
260
+ CLANG_WARN_UNREACHABLE_CODE = YES;
261
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
262
+ COPY_PHASE_STRIP = NO;
263
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
264
+ ENABLE_NS_ASSERTIONS = NO;
265
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
266
+ GCC_C_LANGUAGE_STANDARD = gnu11;
267
+ GCC_NO_COMMON_BLOCKS = YES;
268
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
269
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
270
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
271
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
272
+ GCC_WARN_UNUSED_FUNCTION = YES;
273
+ GCC_WARN_UNUSED_VARIABLE = YES;
274
+ IPHONEOS_DEPLOYMENT_TARGET = 16.1;
275
+ MTL_ENABLE_DEBUG_INFO = NO;
276
+ MTL_FAST_MATH = YES;
277
+ SDKROOT = iphoneos;
278
+ SWIFT_COMPILATION_MODE = wholemodule;
279
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
280
+ VALIDATE_PRODUCT = YES;
281
+ };
282
+ name = Release;
283
+ };
284
+ FDDD8577299DED6600EAB62E /* Debug */ = {
285
+ isa = XCBuildConfiguration;
286
+ buildSettings = {
287
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
288
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
289
+ CODE_SIGN_STYLE = Automatic;
290
+ CURRENT_PROJECT_VERSION = 1;
291
+ GENERATE_INFOPLIST_FILE = YES;
292
+ INFOPLIST_FILE = YKRPC_POD_NAME_Example/Info.plist;
293
+ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
294
+ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
295
+ INFOPLIST_KEY_UIMainStoryboardFile = Main;
296
+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
297
+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
298
+ LD_RUNPATH_SEARCH_PATHS = (
299
+ "$(inherited)",
300
+ "@executable_path/Frameworks",
301
+ );
302
+ MARKETING_VERSION = 1.0;
303
+ PRODUCT_BUNDLE_IDENTIFIER = "yk.YKRPC-POD-NAME-Example";
304
+ PRODUCT_NAME = "$(TARGET_NAME)";
305
+ SWIFT_EMIT_LOC_STRINGS = YES;
306
+ SWIFT_VERSION = 5.0;
307
+ TARGETED_DEVICE_FAMILY = "1,2";
308
+ };
309
+ name = Debug;
310
+ };
311
+ FDDD8578299DED6600EAB62E /* Release */ = {
312
+ isa = XCBuildConfiguration;
313
+ buildSettings = {
314
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
315
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
316
+ CODE_SIGN_STYLE = Automatic;
317
+ CURRENT_PROJECT_VERSION = 1;
318
+ GENERATE_INFOPLIST_FILE = YES;
319
+ INFOPLIST_FILE = YKRPC_POD_NAME_Example/Info.plist;
320
+ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
321
+ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
322
+ INFOPLIST_KEY_UIMainStoryboardFile = Main;
323
+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
324
+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
325
+ LD_RUNPATH_SEARCH_PATHS = (
326
+ "$(inherited)",
327
+ "@executable_path/Frameworks",
328
+ );
329
+ MARKETING_VERSION = 1.0;
330
+ PRODUCT_BUNDLE_IDENTIFIER = "yk.YKRPC-POD-NAME-Example";
331
+ PRODUCT_NAME = "$(TARGET_NAME)";
332
+ SWIFT_EMIT_LOC_STRINGS = YES;
333
+ SWIFT_VERSION = 5.0;
334
+ TARGETED_DEVICE_FAMILY = "1,2";
335
+ };
336
+ name = Release;
337
+ };
338
+ /* End XCBuildConfiguration section */
339
+
340
+ /* Begin XCConfigurationList section */
341
+ FDDD855D299DED6500EAB62E /* Build configuration list for PBXProject "YKRPC_POD_NAME_Example" */ = {
342
+ isa = XCConfigurationList;
343
+ buildConfigurations = (
344
+ FDDD8574299DED6600EAB62E /* Debug */,
345
+ FDDD8575299DED6600EAB62E /* Release */,
346
+ );
347
+ defaultConfigurationIsVisible = 0;
348
+ defaultConfigurationName = Release;
349
+ };
350
+ FDDD8576299DED6600EAB62E /* Build configuration list for PBXNativeTarget "YKRPC_POD_NAME_Example" */ = {
351
+ isa = XCConfigurationList;
352
+ buildConfigurations = (
353
+ FDDD8577299DED6600EAB62E /* Debug */,
354
+ FDDD8578299DED6600EAB62E /* Release */,
355
+ );
356
+ defaultConfigurationIsVisible = 0;
357
+ defaultConfigurationName = Release;
358
+ };
359
+ /* End XCConfigurationList section */
360
+ };
361
+ rootObject = FDDD855A299DED6500EAB62E /* Project object */;
362
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,8 @@
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>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -0,0 +1,14 @@
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>SchemeUserState</key>
6
+ <dict>
7
+ <key>YKRPC_POD_NAME_Example.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
@@ -0,0 +1,19 @@
1
+ Copyright (c) YKPRC_CREATE_YEAR YKPRC_AUTHOR_NAME <YKPRC_AUTHOR_EMAIL>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
@@ -0,0 +1,60 @@
1
+ # YKRPC_POD_NAME
2
+
3
+ [![CI Status](https://img.shields.io/travis/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME.svg?style=flat)](https://travis-ci.org/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME)
4
+ [![Version](https://img.shields.io/cocoapods/v/YKRPC_POD_NAME.svg?style=flat)](https://cocoapods.org/pods/YKRPC_POD_NAME)
5
+ [![License](https://img.shields.io/cocoapods/l/YKRPC_POD_NAME.svg?style=flat)](https://github.com/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME/blob/701ff106db3caa805f9dab12df7749c03c889c47/LICENSE)
6
+ [![Platform](https://img.shields.io/cocoapods/p/YKRPC_POD_NAME.svg?style=flat)](https://cocoapods.org/pods/YKRPC_POD_NAME)
7
+
8
+ ## 摘要
9
+
10
+ YKRPC_POD_NAME 组件主要用于:
11
+
12
+ - 1
13
+ - 2
14
+
15
+ ## 用法
16
+
17
+ ### 集成
18
+
19
+ pod 'YKRPC_POD_NAME', '~> x.x.x'
20
+
21
+ ## 调用
22
+
23
+ ### 引用
24
+
25
+ - objc
26
+
27
+ ```objc
28
+ #import <YKRPC_POD_NAME/YKRPC_POD_NAME.h>
29
+ ```
30
+
31
+ - swift
32
+
33
+ ```swift
34
+ import YKRPC_POD_NAME
35
+ ```
36
+
37
+ ### 调用接口
38
+
39
+ - objc
40
+ ```objc
41
+ //objc 代码
42
+ ```
43
+
44
+ - swift
45
+
46
+ ```swift
47
+ //siwft 代码
48
+ ```
49
+
50
+ ## 历史版本
51
+
52
+ - [1.0.0](http://github/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME/tag/1.0.0)
53
+
54
+ - 初始化版本
55
+ - 提供: xxx, xxx 功能
56
+
57
+ - [1.0.1](http://github/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME/tag/1.0.1)
58
+
59
+ - 修复
60
+ - 提供: xxx, xxx 功能
File without changes
@@ -0,0 +1,16 @@
1
+ //
2
+ // YKRPC_POD_NAME.h
3
+ // Pod
4
+ //
5
+ // Created by YKPRC_AUTHOR_NAME on YKPRC_CREATE_DATE.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ @interface YKRPC_POD_NAME : NSObject
13
+
14
+ @end
15
+
16
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,12 @@
1
+ //
2
+ // YKRPC_POD_NAME.m
3
+ // Pod
4
+ //
5
+ // Created by YKPRC_AUTHOR_NAME on YKPRC_CREATE_DATE.
6
+ //
7
+
8
+ #import "YKRPC_POD_NAME.h"
9
+
10
+ @implementation YKRPC_POD_NAME
11
+
12
+ @end
@@ -0,0 +1,61 @@
1
+ Pod::Spec.new do |spec|
2
+
3
+ spec.name = "YKRPC_POD_NAME"
4
+ spec.version = "0.0.1"
5
+ spec.summary = "YKRPC_POD_NAME 说明."
6
+ spec.description = <<-DESC
7
+ YKRPC_POD_NAME long description of the pod here.
8
+ DESC
9
+
10
+ spec.homepage = 'http://github.com/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME'
11
+ spec.license = { :type => "MIT", :file => "FILE_LICENSE" }
12
+ spec.author = { "YKPRC_AUTHOR_NAME" => "YKPRC_AUTHOR_EMAIL" }
13
+ spec.ios.deployment_target = '9.0'
14
+
15
+ spec.source = { :git => "http://github/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME.git", :tag => "#{spec.version}" }
16
+
17
+
18
+ # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
19
+ spec.source_files = 'YKRPC_POD_NAME/{Public,Private}/**/*.{h,m,mm,c,cpp,swift}'
20
+ # spec.exclude_files = "YKRPC_POD_NAME/Exclude" #排除文件
21
+
22
+ spec.project_header_files = 'YKRPC_POD_NAME/Private/**/*.{h}'
23
+ spec.public_header_files = 'YKRPC_POD_NAME/Public/**/*.h' #此处放置组件的对外暴漏的头文件
24
+
25
+ # ――― binary framework/lib ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
26
+ #spec.vendored_frameworks = 'YKRPC_POD_NAME/Private/**/*.framework'
27
+ #spec.vendored_libraries = 'YKRPC_POD_NAME/Private/**/*.a'
28
+
29
+ # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
30
+ # 放置 json,font,jpg,png等资源
31
+
32
+ # spec.resource_bundles = {
33
+ # 'YKRPC_POD_NAME' => ['YKRPC_POD_NAME/Assets/*.xcassets', "YKRPC_POD_NAME/{Public,Private}/**/*.{png,jpg,font,json,xib}"]
34
+ # }
35
+
36
+
37
+ # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
38
+ # spec.framework = "SomeFramework"
39
+ # spec.frameworks = "SomeFramework", "AnotherFramework"
40
+ # spec.library = "iconv"
41
+ # spec.libraries = "iconv", "xml2"
42
+
43
+
44
+ # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
45
+ # spec.requires_arc = true
46
+
47
+ # spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
48
+
49
+ # 其他依赖pod
50
+ # spec.dependency "XXXXXXXX"
51
+
52
+ # spec.subspec 'WithLoad' do |ss|
53
+ # ss.source_files = 'YKHawkeye/Src/MethodUseTime/**/*{.h,.m}'
54
+ # ss.pod_target_xcconfig = {
55
+ # 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) YKHawkeyeWithLoad'
56
+ # }
57
+ # ss.dependency 'YKHawkeye/Core'
58
+ # ss.vendored_frameworks = 'YKHawkeye/Framework/*.framework'
59
+ # end
60
+
61
+ end
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2023 stephen.chen <stephenchen@yeahka.com>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.