美文网首页
flutter在Mac下无法打开“idevice_id”,因为无

flutter在Mac下无法打开“idevice_id”,因为无

作者: Zszen | 来源:发表于2020-04-26 20:26 被阅读0次
    • 打开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

    相关文章

      网友评论

          本文标题:flutter在Mac下无法打开“idevice_id”,因为无

          本文链接:https://www.haomeiwen.com/subject/bezjwhtx.html