查看iOS APP Bundle ID报错解决方法

执行ideviceinstaller -l 报错:Could not connect to lockdownd. Exiting.

brew install --HEAD libimobiledevice
ideviceinstaller -l
//控制台提示:
// Could not connect to lockdownd. Exiting

安装libimobiledevice报错解决方案

使用以下方式修复,注意先断开所有iOS设备执行以下命令:

brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew link --overwrite libimobiledevice

下面继续安装环境依赖,注意先断开所有iOS设备执行以下命令:

brew install --HEAD  ideviceinstaller
brew link --overwrite ideviceinstaller
// 注意:此条命令可能出现 “no matches found: /var/db/lockdown/*”提示,继续往下执行即可
sudo rm -rf /var/db/lockdown/*

然后连接iOS设备,然后在出现提示选择“信任”,之后,执行以下命令:
(注意:如果lockdown下的文件删除不成功,可能不出现“信任”提示,个人经历是,不影响后续操作)

sudo chmod -R 777 /var/db/lockdown/

最后测试是否解决could not connect to lockdownd. exiting问题:

ideviceinstaller -l
CFBundleIdentifier, CFBundleVersion, CFBundleDisplayName
com.youku.YouKu, "2012060463", "优酷"
com.magicBoard.phone, "516", "蓝湖"
com.bankabc.iphonerelease, "4.1.1", "中国农业银行"
com.wawj.app.t, "128", "我爱我家"
com.app.adinnet.XL, "13", "小遛共享"
com.baidu.tieba, "10.3.9.3", "百度贴吧"
com.reiniot.client, "54", "摩看"
com.alipay.iphoneclient, "10.1.75.6002", "支付宝"
com.lagou.lagouhr, "8005", "拉勾招聘"
com.google.Authenticator, "3.0.2102", "Authenticator"
ctrip.com, "8.12.2", "携程旅行"
com.yy.kiwi, "310", "虎牙直播"
com.51wnl.wnl-shadow2, "201706071647", "万年历"
com.gotokeep.keep, "21779", "Keep"
com.apple.AppStoreConnect, "934", "Connect"
com.taobao.taobao4iphone, "12054332", "手机淘宝"
com.baojia.mebike, "20", "小蜜单车"
com.baidu.BaiduMobile, "11.12.0.18", "百度"
com.huolala.user, "6400", "货拉拉"
com.xiaojukeji.didi, "5.3.8.910081402", "滴滴出行"
cn.woepay.client.dist, "4.2.5", "沃钱包"
com.tencent.ied.app.comic, "092511", "腾讯动漫"
com.gemd.iting, "886", "喜马拉雅"
com.51job.ios51job, "5", "前程无忧"
com.jingyao.EasyBike, "50", "哈啰出行"
com.feng.New.WPForumClient, "19.8.026", "威锋"
com.tencent.mqq, "8.1.5.461", "QQ"
com.suncloud.wedding, "8.4.9.4", "婚礼纪"
com.apple.TestFlight, "7", "TestFlight"
com.feng.WPForumClient, "1.8", "威锋社区"
com.facebook.wda.integrationApp, "1", "WebDriverAgentRunnerTest"
com.asman.xiaoniuge, "1.1.2.1", "牛牛搭"
tv.danmaku.bilianime, "8910", "哔哩哔哩"
com.ucweb.iphone.lowversion, "12.6.6.1230", "UC浏览器"
com.netease.cloudmusic, "1318", "网易云音乐"
com.tplink.cloudrouter, "40104", "TP-LINK"
com.taobao.fleamarket, "784022", "闲鱼"
com.aliyun.apsaravideo, "1", "阿里云视频云"
com.tmri.12123, "317", "交管12123"
me.ele.ios.eleme, "11853351", "饿了么"
com.dtdream.publictransit, "2019082302", "杭州公交"
cn.12306.rails12306, "46", "铁路12306"
com.chinaunicom.mobilebusiness, "178", "手机营业厅"
com.jianshu.Hugo, "1909271053", ""
com.sina.weibo, "37593", "微博"
com.hpbr.bosszhipin, "7.101", "Boss直聘"
com.taou.NeiTui, "5.1.38.1", "脉脉"
com.antfortune.wealth, "6.3.1.30", "蚂蚁财富"
com.tencent.smoba, "0007", "王者荣耀"
com.laji.coindom, "64", "控银天下"
org.geekbang.GeekTime, "20190924.2035", "极客时间"
cn.gov.tax.its, "20190916115331", "个人所得税"
cn.10086.app, "12", "中国移动"
com.xfPro.TestRx, "1", "TestRx"
com.ss.iphone.article.News, "7.4.3.14", "今日头条"
net.csdn.CsdnPlus, "2019.09292001", "CSDN"
ph.telegra.Telegraph, "15296", "Telegram"
com.liguangming.Shadowrocket, "628", "Shadowrocket"
com.facebook.WebDriverAgentRunner.xctrunner, "1", "WebDriverAgentRunner-Runner"
com.asman.worker, "1.0.0.0", "小牛师傅"
com.huobi.appStoreHuobiSystem, "529", "火币"
com.xiaomi.micloud, "216", "小米云同步"
com.zhihu.ios, "1538", "知乎"
net.oschina.iosapp, "1909291549", "开源中国"
youdaoPro, "8.0.0.26", "网易有道词典"
com.qiyi.iphone, "20190927121500", "爱奇艺"
com.tencent.edu, "4.4.2.4", "腾讯课堂"
com.laiwang.DingTalk, "12107033", "钉钉"
cn.xuexi.qg, "12015956", "学习强国"
com.baidu.map, "10.19.2.6", "百度地图"
com.qiangqu.sjlh, "587", "联华鲸选"
com.tencent.xin, "7.0.8.32", "微信"
developer.apple.wwdc-Release, "758.1.2", "WWDC"
com.meituan.imeituan, "42250", "美团"
com.xunmeng.pinduoduo, "1910071929", "拼多多"
com.baidu.mybaby, "5616", "宝宝知道"
com.360buy.jdmobile, "8.2.6", "京东"
com.tencent.qqmail, "5.6.8.3", "QQ邮箱"

大功告成~

引用:https://github.com/libimobiledevice/ideviceinstaller/issues/58

你可能感兴趣的:(查看iOS APP Bundle ID报错解决方法)