2 "name": "JGSourceBase",
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://gitee.com/dengni8023/JGSourceBase",
7 "license": "MIT (LICENSE.md)",
9 "Dengni8023": "945835664@qq.com",
10 "MeiJiGao": "945835664@qq.com"
16 "git": "https://gitee.com/dengni8023/JGSourceBase.git",
19 "source_files": "JGSourceBase/*.{h,m}",
20 "public_header_files": "JGSourceBase/*.h",
21 "static_framework": true,
23 "user_target_xcconfig": {
24 "GENERATE_INFOPLIST_FILE": "YES"
26 "pod_target_xcconfig": {
27 "PRODUCT_BUNDLE_IDENTIFIER": "com.meijigao.JGSourceBase",
28 "MARKETING_VERSION": "1.4.1",
29 "CURRENT_PROJECT_VERSION": "1.4.1"
34 "source_files": "JGSourceBase/JGSBase/*.{h,m}",
35 "public_header_files": "JGSourceBase/JGSBase/*.h",
36 "private_header_files": "JGSourceBase/JGSBase/*Private.h",
39 "JGSourceBase/JGSBase/**/*.{xcassets,png,jpg,gif}",
40 "JGSourceBase/JGSDevice/**/JGSiOSDeviceList.json-v20221110.sec",
41 "JGSourceBase/JGSIntegrityCheck/**/JGSIntegrityCheckRecordResourcesHash.sh"
45 "OTHER_LDFLAGS": "-ObjC"
47 "pod_target_xcconfig": {
48 "JGSVersion": "1.4.1",
49 "JGSBuild": "20221116",
50 "GCC_PREPROCESSOR_DEFINITIONS": "JGSUserAgent='\"JGSourceBase/${JGSVersion}\"' JGSVersion='\"${JGSVersion}\"' JGSBuild='\"${JGSBuild}\"'"
53 "name": "RemoveUnInstalledJGSResource",
54 "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-v20221110.sec\"\n fi\n # JGSIntegrityCheck 资源清理\n if [[ ''${JGSIntegrityCheckInstalled} != 'YES' ]]; then\n RemoveUninstalledSubspecResource \"JGSIntegrityCheckRecordResourcesHash.sh\"\n fi\n",
55 "execution_position": "after_compile"
60 "source_files": "JGSourceBase/JGSCategory/*.{h,m}",
61 "public_header_files": "JGSourceBase/JGSCategory/*.h",
65 "source_files": "JGSourceBase/JGSCategory/NSArray/*.{h,m}",
66 "public_header_files": "JGSourceBase/JGSCategory/NSArray/*.h",
68 "JGSourceBase/Category/NSDictionary": [
71 "JGSourceBase/Category/NSObject": [
78 "source_files": "JGSourceBase/JGSCategory/NSData/*.{h,m}",
79 "public_header_files": "JGSourceBase/JGSCategory/NSData/*.h",
81 "JGSourceBase/Base": [
88 "source_files": "JGSourceBase/JGSCategory/NSDate/*.{h,m}",
89 "public_header_files": "JGSourceBase/JGSCategory/NSDate/*.h"
92 "name": "NSDictionary",
93 "source_files": "JGSourceBase/JGSCategory/NSDictionary/*.{h,m}",
94 "public_header_files": "JGSourceBase/JGSCategory/NSDictionary/*.h",
96 "JGSourceBase/Base": [
103 "source_files": "JGSourceBase/JGSCategory/NSObject/*.{h,m}",
104 "public_header_files": "JGSourceBase/JGSCategory/NSObject/*.h",
106 "JGSourceBase/Category/NSData": [
109 "JGSourceBase/Category/NSString": [
116 "source_files": "JGSourceBase/JGSCategory/NSString/*.{h,m}",
117 "public_header_files": "JGSourceBase/JGSCategory/NSString/*.h",
119 "JGSourceBase/Category/NSData": [
126 "source_files": "JGSourceBase/JGSCategory/NSURL/*.{h,m}",
127 "public_header_files": "JGSourceBase/JGSCategory/NSURL/*.h"
130 "name": "UIAlertController",
131 "source_files": "JGSourceBase/JGSCategory/UIAlertController/*.{h,m}",
132 "public_header_files": "JGSourceBase/JGSCategory/UIAlertController/*.h",
134 "JGSourceBase/Base": [
140 "name": "UIApplication",
141 "source_files": "JGSourceBase/JGSCategory/UIApplication/*.{h,m}",
142 "public_header_files": "JGSourceBase/JGSCategory/UIApplication/*.h",
144 "JGSourceBase/Base": [
151 "source_files": "JGSourceBase/JGSCategory/UIColor/*.{h,m}",
152 "public_header_files": "JGSourceBase/JGSCategory/UIColor/*.h"
156 "source_files": "JGSourceBase/JGSCategory/UIImage/*.{h,m}",
157 "public_header_files": "JGSourceBase/JGSCategory/UIImage/*.h",
159 "JGSourceBase/Base": [
167 "name": "DataStorage",
168 "source_files": "JGSourceBase/JGSDataStorage/*.{h,m}",
169 "public_header_files": "JGSourceBase/JGSDataStorage/*.h",
171 "JGSourceBase/Base": [
178 "source_files": "JGSourceBase/JGSDevice/*.{h,m}",
179 "public_header_files": "JGSourceBase/JGSDevice/*.h",
180 "pod_target_xcconfig": {
181 "JGSDeviceInstalled": "YES",
182 "GCC_PREPROCESSOR_DEFINITIONS": "JGSDeviceInstalled='\"${JGSDeviceInstalled}\"'"
185 "JGSourceBase/Reachability": [
188 "JGSourceBase/Category/NSData": [
194 "name": "Encryption",
195 "source_files": "JGSourceBase/JGSEncryption/*.{h,m}",
196 "public_header_files": "JGSourceBase/JGSEncryption/*.h",
198 "JGSourceBase/Category/NSData": [
201 "JGSourceBase/Category/NSString": [
208 "source_files": "JGSourceBase/JGSHUD/*.{h,m}",
209 "public_header_files": "JGSourceBase/JGSHUD/*.h",
213 "source_files": "JGSourceBase/JGSHUD/Loading/*.{h,m}",
214 "public_header_files": "JGSourceBase/JGSHUD/Loading/*.h",
219 "JGSourceBase/Base": [
222 "JGSourceBase/Category/UIColor": [
229 "source_files": "JGSourceBase/JGSHUD/Toast/*.{h,m}",
230 "public_header_files": "JGSourceBase/JGSHUD/Toast/*.h",
235 "JGSourceBase/Base": [
243 "name": "IntegrityCheck",
244 "source_files": "JGSourceBase/JGSIntegrityCheck/*.{h,m}",
245 "public_header_files": "JGSourceBase/JGSIntegrityCheck/*.h",
246 "pod_target_xcconfig": {
247 "JGSIntegrityCheckInstalled": "YES",
248 "GCC_PREPROCESSOR_DEFINITIONS": "JGSIntegrityCheckInstalled='\"${JGSIntegrityCheckInstalled}\"' JGSResourcesCheckFileHashSecuritySalt='\"JGSIntegrityCheck\"' JGSApplicationIntegrityCheckFileHashFile='\"JGSApplicationIntegrityCheckFileHashFile\"'"
251 "JGSourceBase/Base": [
254 "JGSourceBase/Encryption": [
260 "name": "Reachability",
261 "source_files": "JGSourceBase/JGSReachability/*.{h,m}",
262 "public_header_files": "JGSourceBase/JGSReachability/*.h",
264 "JGSourceBase/Base": [
270 "name": "SecurityKeyboard",
271 "source_files": "JGSourceBase/JGSSecurityKeyboard/*.{h,m}",
272 "public_header_files": [
273 "JGSourceBase/JGSSecurityKeyboard/**JGSSecurityKeyboard.h"
276 "JGSourceBase/Base": [
279 "JGSourceBase/Category/NSData": [
282 "JGSourceBase/Category/NSString": [
285 "JGSourceBase/Category/UIColor": [