uni-app 3.96版本运行ios模拟器失败 提示安装HBuilder调试基座失败 之前版本可以
uni-app 3.96版本运行ios模拟器失败 提示安装HBuilder调试基座失败 之前版本可以
开发环境 | 版本号 | 项目创建方式 |
---|---|---|
Windows | 14.0 (23A344) | HBuilderX |
iOS | iOS 17 | |
苹果 | 15 |
操作步骤:
- 请看标题
预期结果:
- 请看标题
实际结果:
- 请看标题
bug描述:
3.96 运行ios模拟器失败,提示:安装HBuilder调试基座失败,之前的版本可以
刚测试 下载之前的版本:3.8.6,可以运行ios模拟器
HBuilderX 3.99.2023121601-alpha 已修复。
正式版还是不行啊
2023-11-29 16:42:57.482 [INFO:] node “/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node”
2023-11-29 16:42:57.482 [INFO:] args ("–max-old-space-size=4096", “–no-warnings”, “/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/vite-plugin-uni/bin/uni.js”, “-p”, “app”)
2023-11-29 16:43:08.479 [INFO:] mFilePath: “/Users/hpxin/mywork/test/social-app/unpackage/debug” --mode: 0
2023-11-29 16:43:22.322 [INFO:] mFilePath: “/Users/hpxin/mywork/test/social-app/unpackage/debug” --mode: 0
2023-11-29 16:43:25.925 [INFO:] mFilePath: “/Users/hpxin/mywork/test/social-app/unpackage/debug” --mode: 0
2023-11-29 16:43:33.435 [INFO:] mFilePath: “/Users/hpxin/mywork/test/social-app/unpackage/debug” --mode: 0
2023-11-29 16:43:41.067 [INFO:] Upgrade::isFallbackedVersion ?
2023-11-29 16:43:41.068 [INFO:] Upgrade::isFallbackedVersion return false
2023-11-29 16:43:41.068 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root” ) exits?
2023-11-29 16:43:41.068 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits?
2023-11-29 16:43:41.068 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits return true
2023-11-29 16:44:14.937 [WARNING:] uniapp compiled errorOccurred====== “进程已崩溃”
2023-11-29 16:44:18.519 [INFO:] node “/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node”
2023-11-29 16:44:18.519 [INFO:] args ("–max-old-space-size=4096", “–no-warnings”, “/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/vite-plugin-uni/bin/uni.js”, “-p”, “app”)
2023-11-29 16:44:19.366 [INFO:] Upgrade::isFallbackedVersion ?
2023-11-29 16:44:19.367 [INFO:] Upgrade::isFallbackedVersion return false
2023-11-29 16:44:19.367 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root” ) exits?
2023-11-29 16:44:19.367 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits?
2023-11-29 16:44:19.367 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits return true
2023-11-29 16:44:21.466 [INFO:] Upgrade::isFallbackedVersion ?
2023-11-29 16:44:21.466 [INFO:] Upgrade::isFallbackedVersion return false
2023-11-29 16:44:21.467 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root” ) exits?
2023-11-29 16:44:21.467 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits?
2023-11-29 16:44:21.467 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits return true
2023-11-29 16:44:40.950 [WARNING:] [PluginHost] TypeError: callback is not a function
at ReadFileContext.callback (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/node_modules/bplist-parser/bplistParser.js:46:16)
at FSReqCallback.readFileAfterOpen [as oncomplete] (node:fs:323:13)
2023-11-29 16:44:41.111 [WARNING:] [PluginHost] installPackage Failed:Error: Command failed: xcrun simctl install AD808271-EB5D-460E-B973-30CFF9B7113A ‘/Users/hpxin/mywork/test/social-app/unpackage/debug/iOS_debug.ipa’
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
同样问题,升级到3.98,安装HBuilder调试基座失败
回复 s***@163.com: 可尝试回复的临时方案
咋们遇到同样问题了
同问,并且在 ios 的 webview 中的图形渲染也莫名的不显示了,使用的是已上架版本的代码。
+1 遇到同样问题3.98
请提供下具体的错误截图
回复 DCloud_HB_WDL: 现在已经好了 重装了下模拟器
到了3.9.X以上就都不行了,已经提过,但是没人回复。
请提供下具体的错误截图
回复 DCloud_HB_WDL: https://ask.dcloud.net.cn/question/181956
问题如图
请问解决了吗
问题如图
MacOS: Sonoma 14.1.1
Simulator :Version 15.0.1 (1015.2)
查看项目路径下.hbuilderx/launch.json配置文件,是否存在节点属性
{
“playground” : “custom”,
“type” : “uni-app:app-android”
}
修改为
{
“playground” : “standard”,
“type” : “uni-app:app-android”
}
此为临时方案,后面会修复问题。
如修改后值还不能正常运行,请回复留言
修改后可以了
还是不行啊
请问怎么解决
解决了吗?