Wails错误集合
# 前言
开发Wails
中遇到的奇葩问题,本文持续更新
# version 2.1.0
# NSBundle.h:91:143: error: function does not return NSString
官方解决方案:点击此处 (opens new window)
官方文档上说的是developer command tools
版本太低。
执行命令softwareupdate --list
选中developer command tools
更新即可
# zsh: command not found: wails
命令可能涉及到权限不足的问题,如果遭遇了请在前面加上
sudo
使用
homebrew
安装的go
执行:此方法未进行验证,如果有成功的小伙伴们可以考虑在下面回复一下
cp ~/go/bin/wails /opt/homebrew/Cellar/go/bin
1使用
go
安装包直接安装荐cp ~/go/bin/wails /usr/local/go/bin/
1
更新时间: 2023/9/21 09:27:33