cocoapods-ykutility 2.0.5 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/configPodTemplate/example/READ.md +11 -11
- data/configPodTemplate/example/config/iOS-config/target-main/Shared.xcconfig +2 -0
- data/configPodTemplate/example/config/iOS-config/target-main-Q/Shared.xcconfig +2 -1
- data/configPodTemplate/example/config/iOS-target-main-Q.yml +5 -2
- data/configPodTemplate/example/config/iOS-target-main.yml +6 -2
- data/configPodTemplate/example/config/iOS-target-notification-Q.yml +10 -4
- data/configPodTemplate/example/config/iOS-target-notification.yml +10 -4
- data/configPodTemplate/example/config/project-config/Shared.xcconfig +4 -2
- data/configPodTemplate/example/config/project-config/config-enterprise/Shared.xcconfig +1 -1
- data/configPodTemplate/example/project.yml +1 -0
- data/lib/cocoapods-ykutility/command/create.rb +3 -2
- data/lib/cocoapods-ykutility/command/gen.rb +3 -2
- data/lib/cocoapods-ykutility/gem_version.rb +1 -1
- data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.pbxproj +2 -2
- metadata +4 -4
- /data/configPodTemplate/example/{NotificationContent/Info.plist → InfoFiles/NotificationContentInfo.plist} +0 -0
- /data/configPodTemplate/example/{NotificationService/Info.plist → InfoFiles/NotificationServiceInfo.plist} +0 -0
- /data/configPodTemplate/example/{TargetMain/Info.plist → InfoFiles/TargetMainInfo.plist} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab34a7ac5fc663d1c96770326fdac1f4a5f3d8f3d179417d4e00c4500f0204c
|
4
|
+
data.tar.gz: 9f3d0d732a9781f44412c6849a9db1a2b3984d80ab70af5c613bf43f3c432604
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aaefc2b2f7c8a376ee8822399d1b01d7eda0d7a60336d6197be69fb898915d7d17101d2f3a7624694c8e67269ab5b8fd56145f33ea8149bdaf9d95ad79598b4
|
7
|
+
data.tar.gz: b8e3ff1c5069a11ee5fa0aee63bde5983879432132caf48439908113b07a6ac76e8966a873c1b536a7c487ced571142cbd961246cd292945f11d08ece61e5bc6
|
@@ -1,13 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# YKRPC_POD_NAME
|
2
2
|
|
3
|
-
[![CI Status](https://img.shields.io/travis/author/
|
4
|
-
[![Version](https://img.shields.io/cocoapods/v/
|
5
|
-
[![License](https://img.shields.io/cocoapods/l/
|
6
|
-
[![Platform](https://img.shields.io/cocoapods/p/
|
3
|
+
[![CI Status](https://img.shields.io/travis/author/YKRPC_POD_NAME.svg?style=flat)](https://travis-ci.org/author/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/author/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
7
|
|
8
8
|
## 摘要
|
9
9
|
|
10
|
-
|
10
|
+
YKRPC_POD_NAME 组件主要用于:
|
11
11
|
|
12
12
|
- 1
|
13
13
|
- 2
|
@@ -15,7 +15,7 @@ YKRPC-POD-NAME 组件主要用于:
|
|
15
15
|
## 集成
|
16
16
|
|
17
17
|
```shell
|
18
|
-
pod '
|
18
|
+
pod 'YKRPC_POD_NAME', '~> x.x.x'
|
19
19
|
```
|
20
20
|
|
21
21
|
## 调用
|
@@ -25,13 +25,13 @@ pod 'YKRPC-POD-NAME', '~> x.x.x'
|
|
25
25
|
- objc
|
26
26
|
|
27
27
|
```objc
|
28
|
-
#import <
|
28
|
+
#import <YKRPC_POD_NAME/YKRPC_POD_NAME-Swift.h>
|
29
29
|
```
|
30
30
|
|
31
31
|
- swift
|
32
32
|
|
33
33
|
```swift
|
34
|
-
import
|
34
|
+
import YKRPC_POD_NAME
|
35
35
|
```
|
36
36
|
|
37
37
|
### 调用接口
|
@@ -64,12 +64,12 @@ pod 'YKRPC-POD-NAME', '~> x.x.x'
|
|
64
64
|
|
65
65
|
## 历史版本
|
66
66
|
|
67
|
-
- [1.0.0](http://github/author/
|
67
|
+
- [1.0.0](http://github/author/YKRPC_POD_NAME/tag/1.0.0)
|
68
68
|
|
69
69
|
- 初始化版本
|
70
70
|
- 提供: xxx, xxx 功能
|
71
71
|
|
72
|
-
- [1.0.1](http://github/author/
|
72
|
+
- [1.0.1](http://github/author/YKRPC_POD_NAME/tag/1.0.1)
|
73
73
|
|
74
74
|
- 修复
|
75
75
|
- 提供: xxx, xxx 功能
|
@@ -23,7 +23,8 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
|
23
23
|
// into the `Info.plist`.
|
24
24
|
|
25
25
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
|
26
|
-
|
26
|
+
//INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen.storyboard
|
27
|
+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage
|
27
28
|
|
28
29
|
|
29
30
|
// Code Signing Entitlements
|
@@ -12,13 +12,16 @@ targets:
|
|
12
12
|
type: application
|
13
13
|
platform: iOS
|
14
14
|
info:
|
15
|
-
path: $SRCROOT/
|
15
|
+
path: $SRCROOT/InfoFiles/TargetMainInfo.plist
|
16
16
|
|
17
17
|
# sources
|
18
18
|
sources:
|
19
19
|
# - YKRPC_POD_NAME_Example/YKRPC_POD_NAME_Example/Common
|
20
20
|
# - YKRPC_POD_NAME_Example/YKRPC_POD_NAME_Example/Info.plist
|
21
|
-
- TargetMain
|
21
|
+
- path: TargetMain
|
22
|
+
inferDestinationFiltersByPath: true
|
23
|
+
excludes:
|
24
|
+
- "**/*.plist"
|
22
25
|
- CommonFiles
|
23
26
|
|
24
27
|
# Config Files
|
@@ -12,11 +12,15 @@ targets:
|
|
12
12
|
type: application
|
13
13
|
platform: iOS
|
14
14
|
info:
|
15
|
-
path: $SRCROOT/
|
15
|
+
path: $SRCROOT/InfoFiles/TargetMainInfo.plist
|
16
16
|
|
17
17
|
# sources
|
18
18
|
sources:
|
19
|
-
- TargetMain
|
19
|
+
- path: TargetMain
|
20
|
+
inferDestinationFiltersByPath: true
|
21
|
+
excludes:
|
22
|
+
- "**/*.plist"
|
23
|
+
|
20
24
|
- CommonFiles
|
21
25
|
|
22
26
|
# Config Files
|
@@ -15,9 +15,12 @@ targets:
|
|
15
15
|
platform: iOS
|
16
16
|
type: app-extension
|
17
17
|
info:
|
18
|
-
path: $SRCROOT/
|
18
|
+
path: $SRCROOT/InfoFiles/NotificationContentInfo.plist
|
19
19
|
sources:
|
20
|
-
- NotificationContent
|
20
|
+
- path: NotificationContent
|
21
|
+
inferDestinationFiltersByPath: true
|
22
|
+
excludes:
|
23
|
+
- "**/*.plist"
|
21
24
|
- CommonFiles
|
22
25
|
|
23
26
|
# Config Files
|
@@ -49,9 +52,12 @@ targets:
|
|
49
52
|
platform: iOS
|
50
53
|
type: app-extension
|
51
54
|
info:
|
52
|
-
path: $SRCROOT/
|
55
|
+
path: $SRCROOT/InfoFiles/NotificationServiceInfo.plist
|
53
56
|
sources:
|
54
|
-
- NotificationService
|
57
|
+
- path: NotificationService
|
58
|
+
inferDestinationFiltersByPath: true
|
59
|
+
excludes:
|
60
|
+
- "**/*.plist"
|
55
61
|
- CommonFiles
|
56
62
|
|
57
63
|
# Config Files
|
@@ -15,9 +15,12 @@ targets:
|
|
15
15
|
platform: iOS
|
16
16
|
type: app-extension
|
17
17
|
info:
|
18
|
-
path: $SRCROOT/
|
18
|
+
path: $SRCROOT/InfoFiles/NotificationContentInfo.plist
|
19
19
|
sources:
|
20
|
-
- NotificationContent
|
20
|
+
- path: NotificationContent
|
21
|
+
inferDestinationFiltersByPath: true
|
22
|
+
excludes:
|
23
|
+
- "**/*.plist"
|
21
24
|
- CommonFiles
|
22
25
|
|
23
26
|
# Config Files
|
@@ -49,9 +52,12 @@ targets:
|
|
49
52
|
platform: iOS
|
50
53
|
type: app-extension
|
51
54
|
info:
|
52
|
-
path: $SRCROOT/
|
55
|
+
path: $SRCROOT/InfoFiles/NotificationServiceInfo.plist
|
53
56
|
sources:
|
54
|
-
- NotificationService
|
57
|
+
- path: NotificationService
|
58
|
+
inferDestinationFiltersByPath: true
|
59
|
+
excludes:
|
60
|
+
- "**/*.plist"
|
55
61
|
- CommonFiles
|
56
62
|
|
57
63
|
# Config Files
|
@@ -423,8 +423,8 @@ IPHONEOS_DEPLOYMENT_TARGET = 11.0
|
|
423
423
|
// [CFBundleName](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundlename)
|
424
424
|
// key in the `Info.plist` file to the value of this build setting.
|
425
425
|
|
426
|
-
PRODUCT_NAME =
|
427
|
-
PRODUCT_DISPLAY_NAME =
|
426
|
+
PRODUCT_NAME = YKRPC_POD_NAME_Example
|
427
|
+
PRODUCT_DISPLAY_NAME = YKRPC_POD_NAME_Example
|
428
428
|
|
429
429
|
|
430
430
|
|
@@ -447,6 +447,7 @@ SDKROOT = iphoneos
|
|
447
447
|
// When `GENERATE_INFOPLIST_FILE` is enabled, sets the value of the
|
448
448
|
// [CFBundleVersion](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion)
|
449
449
|
// key in the `Info.plist` file to the value of this build setting.
|
450
|
+
// build number
|
450
451
|
|
451
452
|
CURRENT_PROJECT_VERSION = 1
|
452
453
|
|
@@ -458,6 +459,7 @@ CURRENT_PROJECT_VERSION = 1
|
|
458
459
|
// When `GENERATE_INFOPLIST_FILE` is enabled, sets the value of the
|
459
460
|
// [CFBundleShortVersionString](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring)
|
460
461
|
// key in the `Info.plist` file to the value of this build setting.
|
462
|
+
// app version
|
461
463
|
|
462
464
|
MARKETING_VERSION = 1.0.2
|
463
465
|
|
@@ -17,4 +17,4 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) kENTERPRISE=1
|
|
17
17
|
// [CFBundleName](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundlename)
|
18
18
|
// key in the `Info.plist` file to the value of this build setting.
|
19
19
|
|
20
|
-
PRODUCT_DISPLAY_NAME =
|
20
|
+
PRODUCT_DISPLAY_NAME = YKRPC_POD_NAME_ExampleQ
|
@@ -22,7 +22,7 @@ module Pod
|
|
22
22
|
def self.options
|
23
23
|
[
|
24
24
|
['--language=LANGUAGE', 'Language [ ObjC / Swift ]'],
|
25
|
-
['--
|
25
|
+
['--nodemo', 'Without a demo application for your library'],
|
26
26
|
['--author=AUTHOR', 'Author'],
|
27
27
|
['--email=EMAIL', 'Email'],
|
28
28
|
['--prefix=PREFIX', 'Prefix header'],
|
@@ -36,7 +36,8 @@ module Pod
|
|
36
36
|
|
37
37
|
@config.name = argv.shift_argument
|
38
38
|
@config.language = (["objc", "oc"].include? argv.option('language', "swift").downcase) ? "objc" : "swift"
|
39
|
-
|
39
|
+
nodemo = argv.flag?('nodemo', false)
|
40
|
+
@config.with_demo = !nodemo
|
40
41
|
@config.with_register = argv.flag?('business', false)
|
41
42
|
author = argv.option('author', open("|git config --global user.name").gets)
|
42
43
|
author = author.blank? ? "defualt_author" : author
|
@@ -22,7 +22,7 @@ module Pod
|
|
22
22
|
def self.options
|
23
23
|
[
|
24
24
|
['--language=LANGUAGE', 'Language [ ObjC / Swift ]'],
|
25
|
-
['--
|
25
|
+
['--nodemo', 'Without a demo application for your library'],
|
26
26
|
['--author=AUTHOR', 'Author'],
|
27
27
|
['--email=EMAIL', 'Email'],
|
28
28
|
['--prefix=PREFIX', 'Prefix header'],
|
@@ -36,7 +36,8 @@ module Pod
|
|
36
36
|
|
37
37
|
@config.name = argv.shift_argument
|
38
38
|
@config.language = (["objc", "oc"].include? argv.option('language', "swift").downcase) ? "objc" : "swift"
|
39
|
-
|
39
|
+
nodemo = argv.flag?('nodemo', false)
|
40
|
+
@config.with_demo = !nodemo
|
40
41
|
@config.with_register = argv.flag?('business', false)
|
41
42
|
|
42
43
|
author = argv.option('author', open("|git config --global user.name").gets)
|
@@ -300,7 +300,7 @@
|
|
300
300
|
"@executable_path/Frameworks",
|
301
301
|
);
|
302
302
|
MARKETING_VERSION = 1.0;
|
303
|
-
PRODUCT_BUNDLE_IDENTIFIER = "yk.
|
303
|
+
PRODUCT_BUNDLE_IDENTIFIER = "yk.YKRPC_POD_NAME-Example";
|
304
304
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
305
305
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
306
306
|
SWIFT_VERSION = 5.0;
|
@@ -327,7 +327,7 @@
|
|
327
327
|
"@executable_path/Frameworks",
|
328
328
|
);
|
329
329
|
MARKETING_VERSION = 1.0;
|
330
|
-
PRODUCT_BUNDLE_IDENTIFIER = "yk.
|
330
|
+
PRODUCT_BUNDLE_IDENTIFIER = "yk.YKRPC_POD_NAME-Example";
|
331
331
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
332
332
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
333
333
|
SWIFT_VERSION = 5.0;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-ykutility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stephen.chen
|
@@ -89,11 +89,12 @@ extra_rdoc_files: []
|
|
89
89
|
files:
|
90
90
|
- configPodTemplate/example/CommonFiles/.gitkeep
|
91
91
|
- configPodTemplate/example/CommonFiles/CommonFile.swift
|
92
|
+
- configPodTemplate/example/InfoFiles/NotificationContentInfo.plist
|
93
|
+
- configPodTemplate/example/InfoFiles/NotificationServiceInfo.plist
|
94
|
+
- configPodTemplate/example/InfoFiles/TargetMainInfo.plist
|
92
95
|
- configPodTemplate/example/NotificationContent/Base.lproj/MainInterface.storyboard
|
93
|
-
- configPodTemplate/example/NotificationContent/Info.plist
|
94
96
|
- configPodTemplate/example/NotificationContent/NotificationContent-Bridging-Header.h
|
95
97
|
- configPodTemplate/example/NotificationContent/NotificationViewController.swift
|
96
|
-
- configPodTemplate/example/NotificationService/Info.plist
|
97
98
|
- configPodTemplate/example/NotificationService/NotificationService-Bridging-Header.h
|
98
99
|
- configPodTemplate/example/NotificationService/NotificationService.swift
|
99
100
|
- configPodTemplate/example/Podfile
|
@@ -104,7 +105,6 @@ files:
|
|
104
105
|
- configPodTemplate/example/TargetMain/Assets.xcassets/AppIcon.appiconset/Contents.json
|
105
106
|
- configPodTemplate/example/TargetMain/Assets.xcassets/Contents.json
|
106
107
|
- configPodTemplate/example/TargetMain/Base.lproj/LaunchScreen.storyboard
|
107
|
-
- configPodTemplate/example/TargetMain/Info.plist
|
108
108
|
- configPodTemplate/example/TargetMain/ViewController.swift
|
109
109
|
- configPodTemplate/example/TargetMain/ViewController.xib
|
110
110
|
- configPodTemplate/example/TargetMain/YKRPC_POD_NAMEEmptyOC.h
|
File without changes
|
File without changes
|
File without changes
|