Mac安装flutter踩坑记录:
- 安全性原因导致签名软件无法打开,需要执行以下代码:
APPPATH为软件路径
sudo xattr -r -d com.apple.quarantine APPPATH
目前已知的如下,后续会补充
sudo xattr -r -d com.apple.quarantine ~/flutter/bin/cache/artifacts/libimobiledevice/idevice_id
sudo xattr -r -d com.apple.quarantine ~/flutter/bin/cache/artifacts/libimobiledevice/idevicename
sudo xattr -r -d com.apple.quarantine ~/flutter/bin/cache/artifacts/libimobiledevice/idevicescreenshot
sudo xattr -r -d com.apple.quarantine ~/flutter/bin/cache/artifacts/libimobiledevice/idevicesyslog
sudo xattr -r -d com.apple.quarantine ~/flutter/bin/cache/artifacts/libimobiledevice/ideviceinfo
网友评论