[Add] DocumentReaderMRZStage 7.5.10959
[CocoaPods.git] / Specs / c / 5 / 4 / QuicklySwift / 0.8.0 / QuicklySwift.podspec.json
blob4cad0de626f59901ae92840430861e6af77f3784
2   "name": "QuicklySwift",
3   "version": "0.8.0",
4   "summary": "swift 常用方法扩展,便捷使用 qq交流群:580839749",
5   "description": "swift 常用方法扩展,便捷使用,所有方法以“q”开头,使用链式语法  \"rztime@vip.qq.com\" \"https://github.com/rztime/QuicklySwift.git\"",
6   "homepage": "https://github.com/rztime/QuicklySwift",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "rztime": "rztime@vip.qq.com"
13   },
14   "source": {
15     "git": "https://github.com/rztime/QuicklySwift.git",
16     "tag": "0.8.0"
17   },
18   "social_media_url": "https://github.com/rztime",
19   "platforms": {
20     "ios": "10.0"
21   },
22   "swift_versions": [
23     "4.2",
24     "5.0"
25   ],
26   "source_files": "QuicklySwift/Classes/**/*",
27   "dependencies": {
28     "SnapKit": [
30     ]
31   },
32   "script_phases": {
33     "name": "pod compile before",
34     "script": "\n    root_path=\"${SRCROOT}\"\n    info_plist_path=$(dirname \"$root_path\")\n    find \"$info_plist_path\" -iname \"info.plist\" | while read -r line; do\n      auth_list=(\"NSCameraUsageDescription\" \"NSPhotoLibraryUsageDescription\" \"NSMicrophoneUsageDescription\" \"NSContactsUsageDescription\" \"NSLocationWhenInUseUsageDescription\" \"NSLocationAlwaysUsageDescription\" \"NSLocationAlwaysAndWhenInUseUsageDescription\" \"NSCalendarsUsageDescription\" \"NSRemindersUsageDescription\" \"NSAppleMusicUsageDescription\" \"NSSpeechRecognitionUsageDescription\" \"NSMotionUsageDescription\" \"NSSiriUsageDescription\" \"NSUserTrackingUsageDescription\")\n      use_list=(\"\\$(inherited)\")\n      infoplist_content=$(cat \"$line\")\n      for auth in \"${auth_list[@]}\"; do\n        if grep -q \"${auth}\" <<< \"${infoplist_content}\"; then\n          use_list+=(\"Q_${auth}\")\n        fi\n      done\n    \n      if [ \"${#use_list[@]}\" -eq 1 ]; then\n        echo \"忽略\"\n      else\n        result_list=\"\\nSWIFT_ACTIVE_COMPILATION_CONDITIONS = ${use_list[@]}\"\n        find \"$root_path\" -type f -name \"QuicklySwift.debug.xcconfig\" | while read -r file; do\n            content=$(cat \"${file}\")\n            if grep -q \"SWIFT_ACTIVE_COMPILATION_CONDITIONS\" <<< \"$content\"; then\n                content=$(echo \"$content\" | grep -v \"SWIFT_ACTIVE_COMPILATION_CONDITIONS\")\n            fi\n            content+=\"${result_list}\"\n            echo \"$content\" > \"$file\"\n        done\n        find \"$root_path\" -type f -name \"QuicklySwift.release.xcconfig\" | while read -r file; do\n            content=$(cat \"${file}\")\n            if grep -q \"SWIFT_ACTIVE_COMPILATION_CONDITIONS\" <<< \"$content\"; then\n                content=$(echo \"$content\" | grep -v \"SWIFT_ACTIVE_COMPILATION_CONDITIONS\")\n            fi\n            content+=\"${result_list}\"\n            echo \"$content\" > \"$file\"\n        done\n      fi\n    done\n  ",
35     "shell_path": "/bin/sh",
36     "execution_position": "before_compile"
37   },
38   "swift_version": "5.0"