pushuo
pushuo
  • 发布:2022-06-05 20:43
  • 更新:2022-06-06 10:38
  • 阅读:2268

iOS 自定义基座真机调试,打开文件服务失败,请尝试拔掉数据线后重新连接手机,或重启手机再试

分类:HBuilderX

控制台报错:打开文件服务失败,请尝试拔掉数据线后重新连接手机,或重启手机再试(请确认自定义基座的iOS证书已添加iOS设备的UDID;如果是IOS15.1以上的设备,请确认基座版本号为3.3.2及以上)

昨天都能运行,今天突然就不行了,重启也不行。

请问是问什么啊?

log日志
2022-06-05 20:40:31.011 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop"
2022-06-05 20:40:48.138 [WARNING:] "Can't Not Find Grammar text.slm ! "
2022-06-05 20:40:48.221 [WARNING:] "Can't Not Find Grammar source.less ! "
2022-06-05 20:40:48.227 [WARNING:] "Can't Not Find Grammar source.coffee ! "
2022-06-05 20:40:48.241 [WARNING:] "Can't Not Find Grammar source.postcss ! "
2022-06-05 20:40:48.243 [WARNING:] "Can't Not Find Grammar selectors ! "
2022-06-05 20:40:48.247 [WARNING:] "Can't Not Find Grammar source.coffee ! "
2022-06-05 20:40:48.247 [WARNING:] "Can't Not Find Grammar source.livescript ! "
2022-06-05 20:40:55.426 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2022-06-05 20:40:55.427 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout
2022-06-05 20:40:55.427 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout
2022-06-05 20:40:56.775 [WARNING:] [PluginHost] refreshListData: QJsonValue(object, QJsonObject({"code":1,"device":{"name":"蒲硕的iPhone","platform":"iOS-iPhone","runState":0,"runStateStr":"","udid":"00008030-001260D20140802E","version":"15.5"},"userData":{"platform":"iOS-iPhone","runningDevices":[],"workspaceFolder":{"id":"{303aaa7d-0744-4fbb-bbe5-500ef824b3c1}","name":"ocpro-uniapp","nature":"UniApp_Vue","uri":{"$mid":1,"external":"file:///Users/pushuo/www/product/ocpro-uniapp","fsPath":"/Users/pushuo/www/product/ocpro-uniapp","path":"/Users/pushuo/www/product/ocpro-uniapp","scheme":"file"}}}}))
2022-06-05 20:40:56.917 [INFO:] LSPath is : "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hx-language-pack-zh-cn/extensions/ls.i18n.json"
2022-06-05 20:40:56.919 [INFO:] default LSPath is : "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hx-language-pack-zh-cn/extensions/ls.i18n.json"
2022-06-05 20:40:57.436 [INFO:] Language Server Running on Port : 9191

六月 05, 2022 8:40:57 下午 com.pandora.launcher.core.iphone.jna.LibraryFinder getCFLibrary
严重: Could not find the CoreFoundation Library!
六月 05, 2022 8:40:57 下午 com.pandora.launcher.core.iphone.jna.LibraryFinder getCFLibrary
严重: Could not find the CoreFoundation Library!
2022-06-05 20:40:57 [LanguageServerProcess] randomPort::::::23214
2022-06-05 20:40:57.802 [INFO:] node "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node"
2022-06-05 20:40:57.802 [INFO:] args ("--max-old-space-size=2048", "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/bin/uniapp-cli.js")
2022-06-05 20:41:02.523 [WARNING:] [PluginHost] No command find: "setContext"
2022-06-05 20:41:03.916 [WARNING:] [PluginHost] No command find: "setContext"
2022-06-05 20:41:17 [LanguageServerProcess] zbc connect Mobile is 蒲硕的iPhone=>00008030-001260D20140802E
2022-06-05 20:41:17 [LanguageServerProcess] macos version:10.16
2022-06-05 20:41:17 [LanguageServerProcess] /Users/pushuo/www/product/ocpro-uniapp/unpackage/debug/iOS_debug.ipa
2022-06-05 20:41:22 [LanguageServerProcess] [MDB] WARNING: could not locate iTunesMetadata.plist in archive!WARNING: could not locate Payload/HBuilder.app/SC_Info/HBuilder.sinf in archive!
2022-06-05 20:41:22 [LanguageServerProcess] /Users/pushuo/www/product/ocpro-uniapp/unpackage/debug/iOS_debug.ipa
2022-06-05 20:41:26 [LanguageServerProcess] [MDB] WARNING: could not locate iTunesMetadata.plist in archive!WARNING: could not locate Payload/HBuilder.app/SC_Info/HBuilder.sinf in archive!
2022-06-05 20:41:26.850 [WARNING:] QProcess: Destroyed while process ("/Applications/HBuilderX.app/Contents/HBuilderX/plugins/jre/Contents/Home/bin/java") is still running.
2022-06-05 20:41:26.904 [WARNING:] uniapp compiled errorOccurred====== "进程已崩溃"

2022-06-05 20:43 负责人:无 分享
已邀请:
pushuo

pushuo (作者) - ps

期间有一个操作就是把 在手机上原本基座运行的 app 删除了,然后安装了下 TestFlight 里面的版本。其他的好像就没操作什么了,也重新生成过

DCloud_HB_WDL

DCloud_HB_WDL

把手机上的app删除后试试。或重启手机

  • pushuo (作者)

    没事了,我后来重新用 dev 证书打基座包,好了,谢谢!

    2022-06-06 12:32

  • 1***@qq.com

    回复 2***@qq.com: 你好请问可以具体说一下怎么解决的吗 我也是昨天还能真机运行今晚就不行了

    2022-09-14 23:18

  • DCloud_HB_WDL

    回复 1***@qq.com: https://ask.dcloud.net.cn/article/40041

    2022-09-14 23:54

该问题目前已经被锁定, 无法添加新回复