[Add] VIDVOCR 3.1.5
[CocoaPods.git] / Specs / 1 / c / 6 / JGSourceBase / 1.4.2 / JGSourceBase.podspec.json
blobbb33b08dd2fe1b1c98aef71ca328d112cdc94755
2   "name": "JGSourceBase",
3   "version": "1.4.2",
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   ],
18   "cocoapods_version": ">= 1.10",
19   "platforms": {
20     "ios": "11.0"
21   },
22   "source": {
23     "git": "https://github.com/dengni8023/JGSourceBase.git",
24     "tag": "1.4.2"
25   },
26   "static_framework": true,
27   "requires_arc": true,
28   "pod_target_xcconfig": {
29     "PRODUCT_BUNDLE_IDENTIFIER": "com.meijigao.JGSourceBase",
30     "MARKETING_VERSION": "1.4.2",
31     "CURRENT_PROJECT_VERSION": "1.4.2",
32     "GENERATE_INFOPLIST_FILE": "NO"
33   },
34   "subspecs": [
35     {
36       "name": "Base",
37       "source_files": [
38         "JGSourceBase/*.{h,m,swift}",
39         "JGSourceBase/JGSBase/*.{h,m,swift}"
40       ],
41       "public_header_files": [
42         "JGSourceBase/*.h",
43         "JGSourceBase/JGSBase/*.h"
44       ],
45       "resource_bundles": {
46         "JGSourceBase": [
47           "JGSourceBase/JGSBase/**/*.{xcassets,png,jpg,gif}",
48           "JGSourceBase/JGSDevice/**/JGSiOSDeviceList.json.sec",
49           "JGSourceBase/JGSIntegrityCheck/**/JGSIntegrityCheckRecordResourcesHash.sh"
50         ]
51       },
52       "xcconfig": {
53         "OTHER_LDFLAGS": "-ObjC"
54       },
55       "pod_target_xcconfig": {
56         "JGSVersion": "1.4.2",
57         "JGSBuild": "20230925",
58         "GCC_PREPROCESSOR_DEFINITIONS": "JGSUserAgent='\"JGSourceBase/${JGSVersion}\"' JGSVersion='\"${JGSVersion}\"' JGSBuild='\"${JGSBuild}\"'"
59       },
60       "script_phases": {
61         "name": "RemoveUnInstalledJGSResource",
62         "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",
63         "execution_position": "after_compile",
64         "input_files": [
65           "${BUILT_PRODUCTS_DIR}/$(PRODUCT_NAME)/$(PRODUCT_NAME).bundle"
66         ],
67         "output_files": [
68           "$(DERIVED_FILE_DIR)/$(PRODUCT_NAME)/$(PRODUCT_NAME).bundle"
69         ]
70       }
71     },
72     {
73       "name": "Category",
74       "source_files": [
75         "JGSourceBase/JGSCategory/**/*.{h,m,swift}"
76       ],
77       "public_header_files": [
78         "JGSourceBase/JGSCategory/**/*.h"
79       ],
80       "dependencies": {
81         "JGSourceBase/Base": [
83         ],
84         "JGSourceBase/JSON": [
86         ]
87       }
88     },
89     {
90       "name": "DataStorage",
91       "source_files": "JGSourceBase/JGSDataStorage/*.{h,m,swift}",
92       "public_header_files": "JGSourceBase/JGSDataStorage/*.h",
93       "dependencies": {
94         "JGSourceBase/Encryption": [
96         ]
97       }
98     },
99     {
100       "name": "Device",
101       "source_files": "JGSourceBase/JGSDevice/*.{h,m,swift}",
102       "public_header_files": "JGSourceBase/JGSDevice/*.h",
103       "pod_target_xcconfig": {
104         "JGSDeviceInstalled": "YES",
105         "GCC_PREPROCESSOR_DEFINITIONS": "JGSDeviceInstalled='\"${JGSDeviceInstalled}\"'"
106       },
107       "dependencies": {
108         "JGSourceBase/Category": [
110         ],
111         "JGSourceBase/Reachability": [
113         ]
114       }
115     },
116     {
117       "name": "Encryption",
118       "source_files": "JGSourceBase/JGSEncryption/*.{h,m,swift}",
119       "public_header_files": "JGSourceBase/JGSEncryption/*.h",
120       "dependencies": {
121         "JGSourceBase/Category": [
123         ]
124       }
125     },
126     {
127       "name": "HUD",
128       "source_files": [
129         "JGSourceBase/JGSHUD/*.{h,m}",
130         "JGSourceBase/JGSHUD/Loading/*.{h,m}",
131         "JGSourceBase/JGSHUD/Toast/*.{h,m}"
132       ],
133       "public_header_files": [
134         "JGSourceBase/JGSHUD/*.h",
135         "JGSourceBase/JGSHUD/Loading/*.h",
136         "JGSourceBase/JGSHUD/Toast/*.h"
137       ],
138       "dependencies": {
139         "MBProgressHUD": [
140           ">= 1.2.0"
141         ],
142         "JGSourceBase/Category": [
144         ]
145       }
146     },
147     {
148       "name": "IntegrityCheck",
149       "source_files": "JGSourceBase/JGSIntegrityCheck/*.{h,m,swift}",
150       "public_header_files": "JGSourceBase/JGSIntegrityCheck/*.h",
151       "pod_target_xcconfig": {
152         "JGSIntegrityCheckInstalled": "YES",
153         "GCC_PREPROCESSOR_DEFINITIONS": "JGSIntegrityCheckInstalled='\"${JGSIntegrityCheckInstalled}\"' JGSResourcesCheckFileHashSecuritySalt='\"JGSIntegrityCheck\"' JGSApplicationIntegrityCheckFileHashFile='\"JGSApplicationIntegrityCheckFileHashFile\"'"
154       },
155       "dependencies": {
156         "JGSourceBase/Encryption": [
158         ]
159       }
160     },
161     {
162       "name": "JSON",
163       "source_files": "JGSourceBase/JGSJSON/*.{h,m,swift}",
164       "public_header_files": "JGSourceBase/JGSJSON/*.h",
165       "dependencies": {
166         "JGSourceBase/Base": [
168         ]
169       }
170     },
171     {
172       "name": "Reachability",
173       "source_files": "JGSourceBase/JGSReachability/*.{h,m,swift}",
174       "public_header_files": "JGSourceBase/JGSReachability/*.h",
175       "dependencies": {
176         "JGSourceBase/Base": [
178         ]
179       }
180     },
181     {
182       "name": "SecurityKeyboard",
183       "source_files": "JGSourceBase/JGSSecurityKeyboard/*.{h,m,swift}",
184       "public_header_files": [
185         "JGSourceBase/JGSSecurityKeyboard/**JGSSecurityKeyboard.h"
186       ],
187       "dependencies": {
188         "JGSourceBase/Category": [
190         ]
191       }
192     }
193   ],
194   "swift_version": "5.9"