[Add] ReerRouter 2.2.0
[CocoaPods.git] / Specs / 1 / c / 6 / JGSourceBase / 1.4.3 / JGSourceBase.podspec.json
blob372d3067146d53e4e30cf60fb41fda73bcaf3b0f
2   "name": "JGSourceBase",
3   "version": "1.4.3",
4   "summary": "JGSourceBase functional component library.",
5   "description": "JGSourceBase 通用功能组件库。\n功能包括:\n1. Base - 通用定义、功能模块、iOS项目常用功能\n2. Category - 通用扩展方法定义\n3. DataStorage - 通用数据持久化功能\n4. Device - iOS设备相关方法\n5. Encryption - 常用加解密方法\n6. HUD - Loading-HUD、Toast-HUD显示\n7. IntegrityCheck - iOS应用完整性校验\n8. Reachability - 网络状态监听,支持多观察着/监听者\n9. SecurityKeyboard - 自定义安全键盘",
6   "homepage": "https://github.com/dengni8023/JGSourceBase",
7   "license": "MIT (LICENSE.md)",
8   "authors": {
9     "Dengni8023": "945835664@qq.com",
10     "MeiJiGao": "945835664@qq.com"
11   },
12   "swift_versions": [
13     "5.6",
14     "5.7",
15     "5.8",
16     "5.9",
17     "5.10"
18   ],
19   "cocoapods_version": ">= 1.10",
20   "platforms": {
21     "ios": "12.0"
22   },
23   "source": {
24     "git": "https://github.com/dengni8023/JGSourceBase.git",
25     "tag": "1.4.3"
26   },
27   "static_framework": true,
28   "requires_arc": true,
29   "pod_target_xcconfig": {
30     "PRODUCT_BUNDLE_IDENTIFIER": "com.meijigao.JGSourceBase",
31     "MARKETING_VERSION": "1.4.3",
32     "CURRENT_PROJECT_VERSION": "1.4.3",
33     "GENERATE_INFOPLIST_FILE": "NO"
34   },
35   "subspecs": [
36     {
37       "name": "Base",
38       "source_files": [
39         "JGSourceBase/*.{h,m,swift}",
40         "JGSourceBase/JGSBase/*.{h,m,swift}"
41       ],
42       "public_header_files": [
43         "JGSourceBase/*.h",
44         "JGSourceBase/JGSBase/*.h"
45       ],
46       "resource_bundles": {
47         "JGSourceBase": [
48           "JGSourceBase/*.xcprivacy",
49           "JGSourceBase/JGSBase/**/*.{xcassets,png,jpg,gif}",
50           "JGSourceBase/JGSDevice/**/JGSiOSDeviceList.json.sec",
51           "JGSourceBase/JGSIntegrityCheck/**/JGSIntegrityCheckRecordResourcesHash.sh"
52         ]
53       },
54       "xcconfig": {
55         "OTHER_LDFLAGS": "-ObjC"
56       },
57       "pod_target_xcconfig": {
58         "JGSVersion": "1.4.3",
59         "JGSBuild": "20240329",
60         "GCC_PREPROCESSOR_DEFINITIONS": "JGSUserAgent='\"JGSourceBase/${JGSVersion}\"' JGSVersion='\"${JGSVersion}\"' JGSBuild='\"${JGSBuild}\"'"
61       },
62       "script_phases": {
63         "name": "RemoveUnInstalledJGSResource",
64         "script": "      # echo \"移除构建产出物 JGSourceBase.bundle 中未安装 subspec 的资源文件\"\n      ProductDir=\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.bundle\"\n      echo \"JGSourceBase.bundle: ${ProductDir}\"\n      function RemoveUninstalledSubspecResource() {\n        FileInBundle=\"${ProductDir}/$1\"\n        rm -fr \"${FileInBundle}\"\n      }\n      # JGSDevice 资源清理\n      if [[ ''${JGSDeviceInstalled} != 'YES' ]]; then\n        RemoveUninstalledSubspecResource \"JGSiOSDeviceList.json.sec\"\n      fi\n      # JGSIntegrityCheck 资源清理\n      if [[ ''${JGSIntegrityCheckInstalled} != 'YES' ]]; then\n        RemoveUninstalledSubspecResource \"JGSIntegrityCheckRecordResourcesHash.sh\"\n      fi\n",
65         "execution_position": "after_compile",
66         "input_files": [
67           "${BUILT_PRODUCTS_DIR}/$(PRODUCT_NAME)/$(PRODUCT_NAME).bundle"
68         ],
69         "output_files": [
70           "$(DERIVED_FILE_DIR)/$(PRODUCT_NAME)/$(PRODUCT_NAME).bundle"
71         ]
72       }
73     },
74     {
75       "name": "Category",
76       "source_files": [
77         "JGSourceBase/JGSCategory/**/*.{h,m,swift}"
78       ],
79       "public_header_files": [
80         "JGSourceBase/JGSCategory/**/*.h"
81       ],
82       "dependencies": {
83         "JGSourceBase/Base": [
85         ],
86         "JGSourceBase/JSON": [
88         ]
89       }
90     },
91     {
92       "name": "DataStorage",
93       "source_files": "JGSourceBase/JGSDataStorage/*.{h,m,swift}",
94       "public_header_files": "JGSourceBase/JGSDataStorage/*.h",
95       "dependencies": {
96         "JGSourceBase/Encryption": [
98         ]
99       }
100     },
101     {
102       "name": "Device",
103       "source_files": "JGSourceBase/JGSDevice/*.{h,m,swift}",
104       "public_header_files": "JGSourceBase/JGSDevice/*.h",
105       "pod_target_xcconfig": {
106         "JGSDeviceInstalled": "YES",
107         "GCC_PREPROCESSOR_DEFINITIONS": "JGSDeviceInstalled='\"${JGSDeviceInstalled}\"'"
108       },
109       "dependencies": {
110         "JGSourceBase/Category": [
112         ],
113         "JGSourceBase/Reachability": [
115         ]
116       }
117     },
118     {
119       "name": "Encryption",
120       "source_files": "JGSourceBase/JGSEncryption/*.{h,m,swift}",
121       "public_header_files": "JGSourceBase/JGSEncryption/*.h",
122       "dependencies": {
123         "JGSourceBase/Category": [
125         ]
126       }
127     },
128     {
129       "name": "HUD",
130       "source_files": [
131         "JGSourceBase/JGSHUD/**/*.{h,m,swift}"
132       ],
133       "public_header_files": [
134         "JGSourceBase/JGSHUD/**/*.h"
135       ],
136       "dependencies": {
137         "MBProgressHUD": [
138           ">= 1.2.0"
139         ],
140         "JGSourceBase/Category": [
142         ]
143       }
144     },
145     {
146       "name": "IntegrityCheck",
147       "source_files": "JGSourceBase/JGSIntegrityCheck/*.{h,m,swift}",
148       "public_header_files": "JGSourceBase/JGSIntegrityCheck/*.h",
149       "pod_target_xcconfig": {
150         "JGSIntegrityCheckInstalled": "YES",
151         "GCC_PREPROCESSOR_DEFINITIONS": "JGSIntegrityCheckInstalled='\"${JGSIntegrityCheckInstalled}\"' JGSResourcesCheckFileHashSecuritySalt='\"JGSIntegrityCheck\"' JGSApplicationIntegrityCheckFileHashFile='\"JGSApplicationIntegrityCheckFileHashFile\"'"
152       },
153       "dependencies": {
154         "JGSourceBase/Encryption": [
156         ]
157       }
158     },
159     {
160       "name": "JSON",
161       "source_files": "JGSourceBase/JGSJSON/*.{h,m,swift}",
162       "public_header_files": "JGSourceBase/JGSJSON/*.h",
163       "dependencies": {
164         "JGSourceBase/Base": [
166         ]
167       }
168     },
169     {
170       "name": "Reachability",
171       "source_files": "JGSourceBase/JGSReachability/*.{h,m,swift}",
172       "public_header_files": "JGSourceBase/JGSReachability/*.h",
173       "dependencies": {
174         "JGSourceBase/Base": [
176         ]
177       }
178     },
179     {
180       "name": "SecurityKeyboard",
181       "source_files": "JGSourceBase/JGSSecurityKeyboard/*.{h,m,swift}",
182       "public_header_files": [
183         "JGSourceBase/JGSSecurityKeyboard/**JGSSecurityKeyboard.h"
184       ],
185       "dependencies": {
186         "JGSourceBase/Category": [
188         ]
189       }
190     }
191   ],
192   "swift_version": "5.10"