正常本地打包 运行到ios18 的设备
- 发布:2024-11-06 11:28
- 更新:2024-11-06 18:38
- 阅读:115
产品分类: HbuilderX
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 3.2 GHz 八核Intel Xeon W。macos14.6.1
HBuilderX类型: 正式
HBuilderX版本号: 4.32
手机系统: iOS
手机系统版本号: iOS 18
手机厂商: 苹果
手机机型: iphone12
页面类型: vue
vue版本: vue3
打包方式: 离线
项目创建方式: HBuilderX
操作步骤:
预期结果:
和运行到模拟器一致
和运行到模拟器一致
实际结果:
运行到设备渲染不全,有些js未执行
运行到设备渲染不全,有些js未执行
bug描述:
使用的xcode16 sdk和HBuilder 均为最新版。 离线打包时运行到模拟器正常,运行到手机设备,看起来像是有些js未执行 渲染不全,包括
uni.showToast()
的弹窗样式丢失(如附件图片)
控制台打印:
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))" UserInfo={NSLocalizedFailureReason=((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))}>
0x1140c24c0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=23040, error: (null)
Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x3018b3d20 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}
Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x301928720 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}
和
Modifying properties of a view's layer off the main thread is not allowed: view <UIView: 0x13879f800> with no associated or ancestor view controller; backtrace:
DCloud_UNI_OttoJi - 日常回复 uni-app/x 问题,如果艾特我没看到,请主动私信
看你的描述模拟器没问题,真机有问题?
你有同事测试其他机器吗,比如不同的 xcode版本,iPhone 手机型号,ios 系统型号,比如 ios17 是否正常,缩小下问题范围
h***@foxmail.com (作者)
嗯嗯真机有问题 ,测了一下用ios17.2也这样,用模拟器没问题,真机上有些样式和js不执行 uni.showToast()的样式也不对变成和上面图片里那样了,使用的xcode 是16 真机ios版本是18,17.2
2024-11-06 18:32
h***@foxmail.com (作者)
新建了一个项目也是这样 截图贴在评论区了 是配置不对嘛
2024-11-06 18:40