- 打开terminal
- 运行下面代码:
sudo spctl --master-disable
- 输入密码执行
- 运行下面代码:
sudo xattr -r -d com.apple.quarantine futter sdk目录/bin/cache/artifacts/libimobiledevice/idevice_id
sudo xattr -r -d com.apple.quarantine futter sdk目录/bin/cache/artifacts/libimobiledevice/idevicename
sudo xattr -r -d com.apple.quarantine futter sdk目录/bin/cache/artifacts/libimobiledevice/idevicescreenshot
sudo xattr -r -d com.apple.quarantine futter sdk目录/bin/cache/artifacts/libimobiledevice/idevicesyslog
sudo xattr -r -d com.apple.quarantine futter sdk目录/bin/cache/artifacts/libimobiledevice/ideviceinfo
之后就不会报错了
参考
https://www.jianshu.com/p/d55dc0e699db
https://segmentfault.com/a/1190000017044116?utm_source=tag-newest
https://www.meiwen.com.cn/subject/pywetttx.html