- 打开终端, 输入:
···
sudo spctl --master-disable
···
2.执行下面命令
···
sudo xattr -r -d com.apple.quarantine {flutter sdk目录}/bin/cache/artifacts/libimobiledevice/idevice_id
sudo xattr -r -d com.apple.quarantine {flutter sdk目录}/bin/cache/artifacts/libimobiledevice/idevicename
sudo xattr -r -d com.apple.quarantine {flutter sdk目录}/bin/cache/artifacts/libimobiledevice/idevicescreenshot
sudo xattr -r -d com.apple.quarantine {flutter sdk目录}/bin/cache/artifacts/libimobiledevice/idevicesyslog
sudo xattr -r -d com.apple.quarantine {flutter sdk目录}/bin/cache/artifacts/libimobiledevice/ideviceinfo
···
3.如果不好使, 就进入安全隐私-》通用下
反复选择和退出界面, 弹出“idevice_id“请求权限, 允许它, 另外flutter还会请求一次, 在执行一次即可