正常本地打包 运行到ios18 的设备
- 发布:2024-11-06 11:28
- 更新:2024-11-06 11:28
- 阅读:18
产品分类: uniapp/App
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: