L-Zephyr / Drafter

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

安装失败 #28

Open xyZHua opened 2 years ago

xyZHua commented 2 years ago

Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.1 'drafter' /Users/zhang/Drafter: warning: the target name drafter has different case on the filesystem and the Package.swift manifest file remark: Incremental compilation has been disabled: it is not compatible with wremark: Incremental compilation has been disabled: it is not compatible with w/Users/zhang/Drafter/.build/checkouts/PathKit/Sources/PathKit.swift:98:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead public var hashValue: Int { ^ /Users/zhang/Drafter/.build/checkouts/PathKit/Sources/PathKit.swift:591:12: error: value of optional type 'UnsafeMutablePointer?' (aka 'Optional<UnsafeMutablePointer>') must be unwrapped to a value of type 'UnsafeMutablePointer' (aka 'UnsafeMutablePointer') free(cPattern) ^ /Users/zhang/Drafter/.build/checkouts/PathKit/Sources/PathKit.swift:591:12: note: coalesce using '??' to provide a default when the optional value contains 'nil' free(cPattern) ^ ?? <#default value#> /Users/zhang/Drafter/.build/checkouts/PathKit/Sources/PathKit.swift:591:12: note: force-unwrap using '!' to abort execution if the optional value contains 'nil' free(cPattern) ^ ! [1/3] Compiling PathKit PathKit.swift Archive: ./Template/template.zip creating: ./Template/drafter/template/ inflating: ./Template/drafter/template/index.html
inflating: ./Template/drafter/template/bundle.js
/bin/sh: line 16: cd: .build/release: No such file or directory cp: drafter: No such file or directory

xyZHua commented 2 years ago

My Xocde is latest version, and i also selected the command line tools in xcode, anyone has same question?