开发阶段,运行到模拟器

- 发布:2025-05-06 10:28
- 更新:2025-07-11 10:55
- 阅读:1863
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: Sequoia 15
HBuilderX类型: 正式
HBuilderX版本号: 4.64
手机系统: iOS
手机系统版本号: iOS 18
手机厂商: 模拟器
手机机型: 16 pro
页面类型: vue
vue版本: vue3
打包方式: 离线
项目创建方式: HBuilderX
操作步骤:
预期结果:
正常运行
正常运行
实际结果:
app直接闪退
app直接闪退
bug描述:
开发阶段,运行到模拟器,app直接闪退

蓝天软件工作室 - 软件定制开发,新零售商城服务商
问题一样,运行到ios 模拟器,点击应用闪退没报错,以下是控制台截取的ios模拟器输出错误日志
错误 10:12:25.925400+0800 runningboardd <OSLaunchdJob | handle=F65881B5-DCA3-4DBC-97F4-AFC12ED24A34>: job failed to spawn, plist={
ProcessType => App
EnableTransactions => false
_ManagedBy => com.apple.runningboard
RootedSimulatorPath => true
CFBundleIdentifier => com.union.yshs
_ResourceCoalition => application<com.union.yshs>
ThrottleInterval => 2147483647
MachServices => {
}
EnablePressuredExit => false
InitialTaskRole => 1
UserName => mobile
EnvironmentVariables => {
TMPDIR => /Users/llantian/Library/Developer/CoreSimulator/Devices/E3985C1D-F480-495D-9039-0BB290E9CA80/data/Containers/Data/Application/4C8BFD90-2A9E-4C27-9D8D-361A00418801/tmp
HOME => /Users/llantian/Library/Developer/CoreSimulator/Devices/E3985C1D-F480-495D-9039-0BB290E9CA80/data/Containers/Data/Application/4C8BFD90-2A9E-4C27-9D8D-361A00418801
CFFIXED_USER_HOME => /Users/llantian/Library/Developer/CoreSimulator/Devices/E3985C1D-F480-495D-9039-0BB290E9CA80/data/Containers/Data/Application/4C8BFD90-2A9E-4C27-9D8D-361A00418801
}
_AdditionalProperties => {
RunningBoard => {<…>
错误 10:12:25.925436+0800 runningboardd Process start failed with Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}
错误 10:12:25.925647+0800 runningboardd Job remove after failed start failed with Error Domain=OSLaunchdErrorDomain Code=36 "Operation now in progress" UserInfo={NSLocalizedFailureReason=Operation now in progress}
错误 10:12:25.925662+0800 runningboardd Launch failed with Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}
错误 10:12:25.925930+0800 SpringBoard Bootstrapping failed for <FBApplicationProcess: 0x14b0b5f70; application<com.union.yshs>:<invalid>> with error: <NSError: 0x600002f2ae50; domain: RBSRequestErrorDomain; code: 5; reason: "Launch failed."> {
NSUnderlyingError = <NSError: 0x600002f2b7e0; domain: NSPOSIXErrorDomain; code: 111>;
}
错误 10:12:25.936068+0800 SpringBoard Live host view super view[(null)] not matching container view[<UIView: 0x14b19b550; frame = (0 0; 375 667); clipsToBounds = YES; layer = <CALayer: 0x600002023580>>], frame not updated
错误 10:12:25.936192+0800 SpringBoard Live host view super view[(null)] not matching container view[<UIView: 0x14b19b550; frame = (0 0; 375 667); clipsToBounds = YES; layer = <CALayer: 0x600002023580>>], frame not updated
错误 10:12:25.940222+0800 SpringBoard Live host view super view[(null)] not matching container view[<UIView: 0x14b19b550; frame = (0 0; 375 667); clipsToBounds = YES; layer = <CALayer: 0x600002023580>>], frame not updated
错误 10:12:26.029141+0800 SpringBoard Scene FBSceneManager/sceneID:com.union.yshs-default update failed: <NSError: 0x600002f28b70; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
NSUnderlyingError = <NSError: 0x600002f13150; domain: FBWorkspaceScene; code: 1; reason: "Client process exited.">;
}
错误 10:12:26.030622+0800 SpringBoard Error creating the CFMessagePort needed to communicate with PPT.
错误 10:12:26.530673+0800 SpringBoard Unable to retrieve any SBDeviceApplicationSceneEntity-s from the provided SBDeviceApplicationSceneHandle-s: {(
)}
错误 10:12:26.530693+0800 SpringBoard Error while attempting to disconnect scene: Error Domain=SBWorkspaceErrorDomain Code=1 "Unable to retrieve any SBDeviceApplicationSceneEntity-s from the provided SBDeviceApplicationSceneHandle-s: {(
)}" UserInfo={NSDebugDescription=Unable to retrieve any SBDeviceApplicationSceneEntity-s from the provided SBDeviceApplicationSceneHandle-s: {(
)}}
错误 10:12:26.538964+0800 SpringBoard Spotlight launch failed because of error: Error Domain=RBSRequestErrorDomain Code=5 "Unable to execute launch request" UserInfo={NSLocalizedFailureReason=Unable to execute launch request, NSUnderlyingError=0x600002ea7f60 {Error Domain=RBSServiceErrorDomain Code=1 "originator doesn't have entitlement com.apple.assertiond.system-shell" UserInfo={NSLocalizedFailureReason=originator doesn't have entitlement com.apple.assertiond.system-shell}}}
EntropyM (作者)
控制台没有任何输出,系统日志也没看到什么,请问哪里还能看些有用的日志
2025-05-06 11:06
EntropyM (作者)
就是随便用模板新建项目,都是这样
2025-05-06 11:07
EntropyM (作者)
新电脑,新配置的环境,应该不是其他干扰
2025-05-06 11:08
态度是心的面具
回复 EntropyM: 你好,请问有IOS企业证书吗
2025-05-13 09:36