[Add] TensorFlowLiteObjC 0.0.1-nightly.20241221
[CocoaPods.git] / Specs / 9 / 6 / d / KKHook / 0.6.1 / KKHook.podspec.json
blob10267252faca7a559a70d4e9bf505d10da8daab9
2   "name": "KKHook",
3   "version": "0.6.1",
4   "summary": "A short description of KKHook.",
5   "pod_target_xcconfig": {
6     "VALID_ARCHS": "arm64 armv7",
7     "VALID_ARCHS[sdk=iphonesimulator*]": ""
8   },
9   "description": "TODO: Add long description of the pod here.",
10   "homepage": "https://gitee.com/rykeryin/KKHook",
11   "license": {
12     "type": "MIT",
13     "file": "LICENSE"
14   },
15   "authors": {
16     "rykeryin": "rykeryin@163.com"
17   },
18   "source": {
19     "git": "https://gitee.com/rykeryin/KKHook.git",
20     "tag": "0.6.1"
21   },
22   "platforms": {
23     "ios": "9.0"
24   },
25   "source_files": [
26     "KKHook/Classes/**/*",
27     "KKHook/Frameworks/Dobby.framework/Headers/**.h"
28   ],
29   "vendored_frameworks": "KKHook/Frameworks/Dobby.framework",
30   "public_header_files": [
31     "KKHook/Frameworks/Dobby.framework/Headers/**.h",
32     "KKHook/Classes/**.h"
33   ],
34   "libraries": "c++",
35   "resources": "KKHook/scripts",
36   "script_phases": [
37     {
38       "name": "gen_hook_code",
39       "script": "      #Pods目录\n      podsPath=$(pwd)\n      echo $podsPath\n      function read_dir(){\n        for file in `ls $1` #注意此处这是两个反引号,表示运行系统命令\n          do\n           if [ -d $1\"/\"$file ] #注意此处之间一定要加上空格,否则会报错\n           then\n             read_dir $1\"/\"$file\n           else\n             echo $1\"/\"$file #在此处处理文件即可\n             py_name=\"gen_hook_code\"\n             if [[ $file == *$py_name* ]]\n             then\n                 echo \"包含\"\n                 py_path=$1\"/\"$file\n                 echo $py_path\n                 echo \"\n\"\n                 echo $SRCROOT/../../\n                 echo \"=============\"\n                 cmd=\"python3 $py_path $PODS_TARGET_SRCROOT\"\n                 echo $cmd\n                 $cmd\n             else\n                 echo \"不包含\"\n             fi\n           fi\n          done\n      }\n      #读取第一个参数\n      read_dir $podsPath\n",
40       "shell_path": "/bin/sh",
41       "execution_position": "before_compile"
42     }
43   ]