[Add] GluedInSDK 2.5.1
[CocoaPods.git] / Specs / 1 / c / 6 / JGSourceBase / 1.4.4 / JGSourceBase.podspec.json
blob81c3fc9354116e602afeaa73c2bb67481c318f1e
2   "name": "JGSourceBase",
3   "version": "1.4.4",
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.4"
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.4",
32     "CURRENT_PROJECT_VERSION": "1.4.4",
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.4",
59         "JGSBuild": "20241012",
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       }
67     },
68     {
69       "name": "Category",
70       "source_files": [
71         "JGSourceBase/JGSCategory/**/*.{h,m,swift}"
72       ],
73       "public_header_files": [
74         "JGSourceBase/JGSCategory/**/*.h"
75       ],
76       "dependencies": {
77         "JGSourceBase/Base": [
79         ],
80         "JGSourceBase/JSON": [
82         ]
83       }
84     },
85     {
86       "name": "DataStorage",
87       "source_files": "JGSourceBase/JGSDataStorage/*.{h,m,swift}",
88       "public_header_files": "JGSourceBase/JGSDataStorage/*.h",
89       "dependencies": {
90         "JGSourceBase/Encryption": [
92         ]
93       }
94     },
95     {
96       "name": "Device",
97       "source_files": "JGSourceBase/JGSDevice/*.{h,m,swift}",
98       "public_header_files": "JGSourceBase/JGSDevice/*.h",
99       "pod_target_xcconfig": {
100         "JGSDeviceInstalled": "YES",
101         "GCC_PREPROCESSOR_DEFINITIONS": "JGSDeviceInstalled='\"${JGSDeviceInstalled}\"'"
102       },
103       "dependencies": {
104         "JGSourceBase/Category": [
106         ],
107         "JGSourceBase/Reachability": [
109         ]
110       }
111     },
112     {
113       "name": "Encryption",
114       "source_files": "JGSourceBase/JGSEncryption/*.{h,m,swift}",
115       "public_header_files": "JGSourceBase/JGSEncryption/*.h",
116       "dependencies": {
117         "JGSourceBase/Category": [
119         ]
120       }
121     },
122     {
123       "name": "HUD",
124       "source_files": [
125         "JGSourceBase/JGSHUD/**/*.{h,m,swift}"
126       ],
127       "public_header_files": [
128         "JGSourceBase/JGSHUD/**/*.h"
129       ],
130       "dependencies": {
131         "MBProgressHUD": [
132           ">= 1.2.0"
133         ],
134         "JGSourceBase/Category": [
136         ]
137       }
138     },
139     {
140       "name": "IntegrityCheck",
141       "source_files": "JGSourceBase/JGSIntegrityCheck/*.{h,m,swift}",
142       "public_header_files": "JGSourceBase/JGSIntegrityCheck/*.h",
143       "pod_target_xcconfig": {
144         "JGSIntegrityCheckInstalled": "YES",
145         "GCC_PREPROCESSOR_DEFINITIONS": "JGSIntegrityCheckInstalled='\"${JGSIntegrityCheckInstalled}\"' JGSAppIntegrityCheckFile='\"JGSAppIntegrityCheckFile.json\"'"
146       },
147       "dependencies": {
148         "JGSourceBase/Encryption": [
150         ]
151       }
152     },
153     {
154       "name": "JSON",
155       "source_files": "JGSourceBase/JGSJSON/*.{h,m,swift}",
156       "public_header_files": "JGSourceBase/JGSJSON/*.h",
157       "dependencies": {
158         "JGSourceBase/Base": [
160         ]
161       }
162     },
163     {
164       "name": "Reachability",
165       "source_files": "JGSourceBase/JGSReachability/*.{h,m,swift}",
166       "public_header_files": "JGSourceBase/JGSReachability/*.h",
167       "dependencies": {
168         "JGSourceBase/Base": [
170         ]
171       }
172     },
173     {
174       "name": "SecurityKeyboard",
175       "source_files": "JGSourceBase/JGSSecurityKeyboard/*.{h,m,swift}",
176       "public_header_files": [
177         "JGSourceBase/JGSSecurityKeyboard/**JGSSecurityKeyboard.h"
178       ],
179       "dependencies": {
180         "JGSourceBase/Category": [
182         ]
183       }
184     }
185   ],
186   "swift_version": "5.10"