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. Reachability - 网络状态监听,支持多观察着/监听者\n8. SecurityKeyboard - 自定义安全键盘",
6 "homepage": "https://github.com/dengni8023/JGSourceBase",
7 "license": "MIT (LICENSE.md)",
9 "Dengni8023": "945835664@qq.com",
10 "MeiJiGao": "945835664@qq.com"
16 "git": "https://github.com/dengni8023/JGSourceBase.git",
19 "source_files": "JGSourceBase/**/*.{h,m}",
20 "public_header_files": "JGSourceBase/**/*.h",
21 "static_framework": true,
23 "pod_target_xcconfig": {
24 "PRODUCT_BUNDLE_IDENTIFIER": "com.meijigao.JGSourceBase",
25 "MARKETING_VERSION": "1.3.1",
26 "CURRENT_PROJECT_VERSION": "1.3.1"
41 "source_files": "JGSBase/*.{h,m}",
42 "public_header_files": "JGSBase/*.h",
43 "project_header_files": "JGSBase/*Private.h",
46 "JGSBase/**/*.{xcassets,png,jpg,gif}",
47 "JGSDevice/**/JGSiOSDeviceList.json.sec",
48 "JGSIntegrityCheck/**/JGSIntegrityCheckRecordResourcesHash.sh"
52 "OTHER_LDFLAGS": "-ObjC"
54 "pod_target_xcconfig": {
55 "JGSVersion": "1.3.1",
56 "JGSBuild": "20220608",
57 "GCC_PREPROCESSOR_DEFINITIONS": "JGSUserAgent='\"JGSourceBase/${JGSVersion}\"' JGSVersion='\"${JGSVersion}\"' JGSBuild='\"${JGSBuild}\"'"
60 "name": "RemoveUnInstalledJGSResource",
61 "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} == '' ]]; then\n RemoveUninstalledSubspecResource \"JGSiOSDeviceList.json.sec\"\n fi\n # JGSIntegrityCheck 资源清理\n if [[ ''${JGSIntegrityCheckInstalled} == '' ]]; then\n RemoveUninstalledSubspecResource \"JGSIntegrityCheckRecordResourcesHash.sh\"\n fi\n",
62 "execution_position": "after_compile"
67 "source_files": "JGSCategory/*.{h,m}",
68 "public_header_files": "JGSCategory/*.h",
72 "source_files": "JGSCategory/NSData/*.{h,m}",
73 "public_header_files": "JGSCategory/NSData/*.h",
75 "JGSourceBase/Base": [
82 "source_files": "JGSCategory/NSDate/*.{h,m}",
83 "public_header_files": "JGSCategory/NSDate/*.h"
86 "name": "NSDictionary",
87 "source_files": "JGSCategory/NSDictionary/*.{h,m}",
88 "public_header_files": "JGSCategory/NSDictionary/*.h",
90 "JGSourceBase/Base": [
97 "source_files": "JGSCategory/NSObject/*.{h,m}",
98 "public_header_files": "JGSCategory/NSObject/*.h",
100 "JGSourceBase/Category/NSData": [
103 "JGSourceBase/Category/NSString": [
110 "source_files": "JGSCategory/NSString/*.{h,m}",
111 "public_header_files": "JGSCategory/NSString/*.h",
113 "JGSourceBase/Category/NSData": [
120 "source_files": "JGSCategory/NSURL/*.{h,m}",
121 "public_header_files": "JGSCategory/NSURL/*.h"
124 "name": "UIAlertController",
125 "source_files": "JGSCategory/UIAlertController/*.{h,m}",
126 "public_header_files": "JGSCategory/UIAlertController/*.h",
128 "JGSourceBase/Base": [
134 "name": "UIApplication",
135 "source_files": "JGSCategory/UIApplication/*.{h,m}",
136 "public_header_files": "JGSCategory/UIApplication/*.h",
138 "JGSourceBase/Base": [
145 "source_files": "JGSCategory/UIColor/*.{h,m}",
146 "public_header_files": "JGSCategory/UIColor/*.h"
150 "source_files": "JGSCategory/UIImage/*.{h,m}",
151 "public_header_files": "JGSCategory/UIImage/*.h",
153 "JGSourceBase/Base": [
161 "name": "DataStorage",
162 "source_files": "JGSDataStorage/*.{h,m}",
163 "public_header_files": "JGSDataStorage/*.h",
165 "JGSourceBase/Base": [
172 "source_files": "JGSDevice/*.{h,m}",
173 "public_header_files": "JGSDevice/*.h",
174 "pod_target_xcconfig": {
175 "JGSDeviceInstalled": "YES",
176 "GCC_PREPROCESSOR_DEFINITIONS": "JGSDeviceInstalled='\"${JGSDeviceInstalled}\"'"
179 "JGSourceBase/Reachability": [
182 "JGSourceBase/Category/NSData": [
188 "name": "Encryption",
189 "source_files": "JGSEncryption/*.{h,m}",
190 "public_header_files": "JGSEncryption/*.h",
192 "JGSourceBase/Category/NSData": [
195 "JGSourceBase/Category/NSString": [
202 "source_files": "JGSHUD/*.{h,m}",
203 "public_header_files": "JGSHUD/*.h",
207 "source_files": "JGSHUD/Loading/*.{h,m}",
208 "public_header_files": "JGSHUD/Loading/*.h",
213 "JGSourceBase/Base": [
216 "JGSourceBase/Category/UIColor": [
223 "source_files": "JGSHUD/Toast/*.{h,m}",
224 "public_header_files": "JGSHUD/Toast/*.h",
229 "JGSourceBase/Base": [
237 "name": "IntegrityCheck",
238 "source_files": "JGSIntegrityCheck/*.{h,m}",
239 "public_header_files": "JGSIntegrityCheck/*.h",
240 "pod_target_xcconfig": {
241 "JGSIntegrityCheckInstalled": "YES",
242 "GCC_PREPROCESSOR_DEFINITIONS": "JGSIntegrityCheckInstalled='\"${JGSIntegrityCheckInstalled}\"' JGSResourcesCheckFileHashSecuritySalt='\"JGSIntegrityCheck\"' JGSApplicationIntegrityCheckFileHashFile='\"JGSApplicationIntegrityCheckFileHashFile\"'"
245 "JGSourceBase/Base": [
251 "name": "Reachability",
252 "source_files": "JGSReachability/*.{h,m}",
253 "public_header_files": "JGSReachability/*.h",
255 "JGSourceBase/Base": [
261 "name": "SecurityKeyboard",
262 "source_files": "JGSSecurityKeyboard/*.{h,m}",
263 "public_header_files": [
264 "JGSSecurityKeyboard/**JGSSecurityKeyboard.h"
267 "JGSourceBase/Base": [
270 "JGSourceBase/Category/UIColor": [