我有一个非常奇怪的崩溃,仅在发布版本(App Store + TestFlight)和 Apple Watch Series 3 上发生。如果我在我的系列 3 上调试运行它,它工作正常。在较新的手表(系列 4+)上,App Store 和调试版本运行良好。
我的手表应用使用 SwiftUI。有人知道这里发生了什么吗?这是 SwiftUI 错误还是我做错了什么?
这是我从系列 3 中得到的崩溃日志(符号):
Incident Identifier: B1210338-BE7E-4296-816B-5C07B3B2796A
Beta Identifier: 030172D5-8766-4A2C-B988-12A27F1DB754
Hardware Model: Watch3,2
Process: Thirstic [279]
Path: /private/var/containers/Bundle/Application/8A4A4A35-2570-44BE-9767-E6B8EFE31369/ThirsticWatch.app/PlugIns/Thirstic.appex/Thirstic
Identifier: co.tapcode.thirstic.watchkitapp.watchkitextension
Version: 24 (2020.2)
AppVariant: 1:Watch3,2:7
Beta: YES
Code Type: ARM (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: co.tapcode.thirstic.watchkitapp [343]
Date/Time: 2020-10-13 11:12:41.5505 +0200
Launch Time: 2020-10-13 11:12:40.0000 +0200
OS Version: Watch OS 7.0.2 (18R402)
Release Type: User
Baseband Version: 5.02.01 …Run Code Online (Sandbox Code Playgroud)