登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
35
Star
86
Fork
22
ArkUI-X
/
samples
暂停
代码
Issues
30
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
iOS12.0真机调试运行示例工程,应用启动立即闪退
修复中
#I7RZ4V
缺陷
westinyang
创建于
2023-08-09 19:43
### 该问题是怎么引起的? 按照官方文档搭建macOS开发环境,DevEcoStudio导入示例工程,编译App,使用Xcode打开 .arkui-x/ios/app.xcodeproj 工程,连接真机调试运行,上述过程无任何错误信息,构建成功并运行到iOS设备上,应用启动立即闪退 - macOS 11.7.2 - Xcode 13.2 - iPhone 6s - iOS 12.0 - DevEco Studio 4.0 Beta2 - Node.js 16.20.1 - ohpm 1.2.4 - ArkUI-X SDK 0.0.9.6 Canary1 ### 重现步骤 如上所述 ### 报错信息 ``` 2023-08-09 19:31:48.643647+0800 app[378:14714] -[StageAssetManager launchAbility] 2023-08-09 19:31:48.643826+0800 app[378:14714] StageConfigurationManager share instance 2023-08-09 19:31:48.644051+0800 app[378:14714] initConfiguration called 2023-08-09 19:31:48.644183+0800 app[378:14714] setDirection, 0 2023-08-09 19:31:48.646189+0800 app[378:14714] configuration json : {"ohos.application.direction":"","ohos.application.densitydpi":"2.000000","ohos.system.colorMode":"light"} [Ace INFO] 08/09 19:31:48 38005632 [app_main.cpp(InitConfiguration)] InitConfiguration called. 2023-08-09 19:31:48.646415+0800 app[378:14714] +[StageApplication startAbilityDelegator], No need to start creating abilityDelegate 2023-08-09 19:31:48.646608+0800 app[378:14714] +[StageApplication startAbilityDelegator], failed . arguments is ( "/var/containers/Bundle/Application/CEB7D831-C131-40E0-9DA0-773D19016E25/app.app/app" ) 2023-08-09 19:31:48.647093+0800 app[378:14714] StageVC-><EntryEntryAbilityViewController: 0x15be0eb30> init, instanceName is : com.example.x1:entry:EntryAbility:0 2023-08-09 19:31:48.692408+0800 app[378:14714] -[UINavigationBar setStandardAppearance:]: unrecognized selector sent to instance 0x15bd0c270 2023-08-09 19:31:48.693216+0800 app[378:14714] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationBar setStandardAppearance:]: unrecognized selector sent to instance 0x15bd0c270' *** First throw call stack: (0x204f0fef8 0x2040dda40 0x204e27154 0x231b46034 0x204f15810 0x204f174bc 0x10224a07c 0x102249e48 0x10224947c 0x23178a5f8 0x23178bd60 0x2317917ac 0x231fb8db8 0x231fb5364 0x231fb8a34 0x231fb93d4 0x231f785fc 0x231f782a8 0x231fbb844 0x231fbc334 0x231fbb6fc 0x231fb4a10 0x23178fca4 0x2317c145c 0x20793f890 0x20794a658 0x207949d50 0x1054acde4 0x1054b0a2c 0x20797e640 0x20797e2cc 0x20797e8e8 0x204e9e5b8 0x204e9e538 0x204e9de1c 0x204e98ce8 0x204e985b8 0x20710c584 0x231793558 0x10224a444 0x204958b94) libc++abi.dylib: terminating with uncaught exception of type NSException *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationBar setStandardAppearance:]: unrecognized selector sent to instance 0x15bd0c270' terminating with uncaught exception of type NSException *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationBar setStandardAppearance:]: unrecognized selector sent to instance 0x15bd0c270' terminating with uncaught exception of type NSException ``` 
### 该问题是怎么引起的? 按照官方文档搭建macOS开发环境,DevEcoStudio导入示例工程,编译App,使用Xcode打开 .arkui-x/ios/app.xcodeproj 工程,连接真机调试运行,上述过程无任何错误信息,构建成功并运行到iOS设备上,应用启动立即闪退 - macOS 11.7.2 - Xcode 13.2 - iPhone 6s - iOS 12.0 - DevEco Studio 4.0 Beta2 - Node.js 16.20.1 - ohpm 1.2.4 - ArkUI-X SDK 0.0.9.6 Canary1 ### 重现步骤 如上所述 ### 报错信息 ``` 2023-08-09 19:31:48.643647+0800 app[378:14714] -[StageAssetManager launchAbility] 2023-08-09 19:31:48.643826+0800 app[378:14714] StageConfigurationManager share instance 2023-08-09 19:31:48.644051+0800 app[378:14714] initConfiguration called 2023-08-09 19:31:48.644183+0800 app[378:14714] setDirection, 0 2023-08-09 19:31:48.646189+0800 app[378:14714] configuration json : {"ohos.application.direction":"","ohos.application.densitydpi":"2.000000","ohos.system.colorMode":"light"} [Ace INFO] 08/09 19:31:48 38005632 [app_main.cpp(InitConfiguration)] InitConfiguration called. 2023-08-09 19:31:48.646415+0800 app[378:14714] +[StageApplication startAbilityDelegator], No need to start creating abilityDelegate 2023-08-09 19:31:48.646608+0800 app[378:14714] +[StageApplication startAbilityDelegator], failed . arguments is ( "/var/containers/Bundle/Application/CEB7D831-C131-40E0-9DA0-773D19016E25/app.app/app" ) 2023-08-09 19:31:48.647093+0800 app[378:14714] StageVC-><EntryEntryAbilityViewController: 0x15be0eb30> init, instanceName is : com.example.x1:entry:EntryAbility:0 2023-08-09 19:31:48.692408+0800 app[378:14714] -[UINavigationBar setStandardAppearance:]: unrecognized selector sent to instance 0x15bd0c270 2023-08-09 19:31:48.693216+0800 app[378:14714] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationBar setStandardAppearance:]: unrecognized selector sent to instance 0x15bd0c270' *** First throw call stack: (0x204f0fef8 0x2040dda40 0x204e27154 0x231b46034 0x204f15810 0x204f174bc 0x10224a07c 0x102249e48 0x10224947c 0x23178a5f8 0x23178bd60 0x2317917ac 0x231fb8db8 0x231fb5364 0x231fb8a34 0x231fb93d4 0x231f785fc 0x231f782a8 0x231fbb844 0x231fbc334 0x231fbb6fc 0x231fb4a10 0x23178fca4 0x2317c145c 0x20793f890 0x20794a658 0x207949d50 0x1054acde4 0x1054b0a2c 0x20797e640 0x20797e2cc 0x20797e8e8 0x204e9e5b8 0x204e9e538 0x204e9de1c 0x204e98ce8 0x204e985b8 0x20710c584 0x231793558 0x10224a444 0x204958b94) libc++abi.dylib: terminating with uncaught exception of type NSException *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationBar setStandardAppearance:]: unrecognized selector sent to instance 0x15bd0c270' terminating with uncaught exception of type NSException *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationBar setStandardAppearance:]: unrecognized selector sent to instance 0x15bd0c270' terminating with uncaught exception of type NSException ``` 
评论 (
7
)
登录
后才可以发表评论
状态
修复中
待确认
已确认
修复中
已修复
已验收
已拒绝
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(4)
1
https://gitee.com/arkui-x/samples.git
git@gitee.com:arkui-x/samples.git
arkui-x
samples
samples
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册