【Flutter]Flutter环境安装问题

高版本mac系统运行flutter doctor出现以下问题解决办法:

“idevice_id” cannot be opened because the developer cannot be verified.

无法打开“idevice_id”,因为无法验证开发者

解决方案:

// 执行以下命令行
 sudo xattr -r -d com.apple.quarantine /opt/flutter/bin/cache/artifacts/libimobiledevice/idevice_id
 sudo xattr -r -d com.apple.quarantine /opt/flutter/bin/cache/artifacts/libimobiledevice/idevicename
 sudo xattr -r -d com.apple.quarantine /opt/flutter/bin/cache/artifacts/libimobiledevice/idevicescreenshot
 sudo xattr -r -d com.apple.quarantine /opt/flutter/bin/cache/artifacts/libimobiledevice/idevicesyslog
 sudo xattr -r -d com.apple.quarantine /opt/flutter/bin/cache/artifacts/libimobiledevice/ideviceinfo

“gen_snapshot” cannot be opened because the developer cannot be verified.

posted @ 2020-01-31 16:37  林璡  阅读(697)  评论(0编辑  收藏  举报