Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装失败 #28

Open
xyZHua opened this issue Oct 14, 2021 · 1 comment
Open

安装失败 #28

xyZHua opened this issue Oct 14, 2021 · 1 comment

Comments

@xyZHua
Copy link

xyZHua commented Oct 14, 2021

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
Copy link
Author

xyZHua commented Oct 14, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant