[Add] YLCategory-MacOS 1.1.3
[CocoaPods.git] / Specs / b / 1 / e / YSNetwork / 0.0.4 / YSNetwork.podspec.json
blob26b061a3ef9c332197f7127ebca6d23c20fb2aac
2   "name": "YSNetwork",
3   "version": "0.0.4",
4   "summary": "基于Alamofire的再封装",
5   "description": "TODO: Add long description of the pod here.",
6   "homepage": "https://github.com/OneKnife/YSNetwork",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "OneKnife": "melody@hitour.cc"
13   },
14   "source": {
15     "git": "https://github.com/OneKnife/YSNetwork.git",
16     "tag": "0.0.4"
17   },
18   "platforms": {
19     "ios": "8.0"
20   },
21   "swift_version": "4.0",
22   "source_files": "YSNetwork/Classes/*",
23   "dependencies": {
24     "Alamofire": [
25       "~> 4.7"
26     ]
27   },
28   "script_phases": {
29     "name": "CommonCrypto",
30     "script": "COMMON_CRYPTO_DIR=\"${SDKROOT}/usr/include/CommonCrypto\"\n    if [ -f \"${COMMON_CRYPTO_DIR}/module.modulemap\" ]\n      then\n      echo \"CommonCrypto already exists, skipping\"\n      else\n      # This if-statement means we will only run the main script if the\n      # CommonCrypto.framework directory doesn not exist because otherwise\n      # the rest of the script causes a full recompile for anything\n      # where CommonCrypto is a dependency\n      # Do a \"Clean Build Folder\" to remove this directory and trigger\n      # the rest of the script to run\n      FRAMEWORK_DIR=\"${BUILT_PRODUCTS_DIR}/CommonCrypto.framework\"\n      if [ -d \"${FRAMEWORK_DIR}\" ]; then\n        echo \"${FRAMEWORK_DIR} already exists, so skipping the rest of the script.\"\n        exit 0\n      fi\n      mkdir -p \"${FRAMEWORK_DIR}/Modules\"\n      echo \"module CommonCrypto [system] {\n        header \\\"${SDKROOT}/usr/include/CommonCrypto/CommonCrypto.h\\\"\n        export *\n      }\" >> \"${FRAMEWORK_DIR}/Modules/module.modulemap\"\n      ln -sf \"${SDKROOT}/usr/include/CommonCrypto\" \"${FRAMEWORK_DIR}/Headers\"\n    fi",
31     "execution_position": "before_compile"
32   }