L-Zephyr / Drafter

在iOS项目中自动生成类图和方法调用图 - Generate call graph in iOS project
MIT License
1.02k stars 127 forks source link

安装失败 #17

Closed crespoxiao closed 5 years ago

crespoxiao commented 5 years ago

sudo curl "https://raw.githubusercontent.com/L-Zephyr/Drafter/master/install.sh" | /bin/sh

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 306 100 306 0 0 329 0 --:--:-- --:--:-- --:--:-- 329 正克隆到 'Drafter'... remote: Enumerating objects: 81, done. remote: Counting objects: 100% (81/81), done. remote: Compressing objects: 100% (53/53), done. remote: Total 2479 (delta 21), reused 56 (delta 15), pack-reused 2398 接收对象中: 100% (2479/2479), 12.69 MiB | 689.00 KiB/s, 完成. 处理 delta 中: 100% (1376/1376), 完成. /Users/chengfeixiao/Drafter: error: manifest parse error(s):

:29:9: note: in file included from :29: #import "string.h" ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:180:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:180: #include "strings.h" ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:92:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:92: #include ^ /usr/local/include/string.h:25:10: error: 'plist/Node.h' file not found #include ^ :0: error: could not build Objective-C module 'Darwin' Archive: ./Template/template.zip creating: ./Template/drafter/template/ inflating: ./Template/drafter/template/index.html inflating: ./Template/drafter/template/bundle.js /bin/sh: line 9: cd: .build/release: No such file or directory cp: cannot stat 'drafter': No such file or directory
crespoxiao commented 5 years ago

fixed

https://stackoverflow.com/questions/49314732/gem-install-libxml-ruby-fatal-error-plist-node-h-file-not-found