importGo命令行参数:退出状态1

时间:2019-05-06 12:47:03

标签: go gomobile

我试图在github上构建项目gost的ios框架。
我用gomobile bind -target=ios main.go来做
它给了我错误:

coel$ gomobile bind -target=ios -v main.go 
2019/05/06 20:39:59 package "command-line-arguments": go/build: importGo command-line-arguments: exit status 1
can't load package: package command-line-arguments: unknown import path "command-line-arguments": cannot find module providing package command-line-arguments

gomobile: /Users/coel/go/bin/gobind -lang=go,objc -outdir=/var/folders/58/0__36x5s2mz6tf60jmvj9vxh0000gn/T/gomobile-work-241643737 -tags=ios command-line-arguments failed: exit status 1

0 个答案:

没有答案