在使用 M1 在 macbook 上更新 macOS 后,我的项目在任何 iOS 模拟器上运行时崩溃(在物理设备上正确运行)。我使用 firebase、GoogleSignIn 和 FacebookLogin 作为我的 pod 包。我注意到没有 Pod 的其他项目在模拟器上正确运行。我已经尝试了 xcode 12.5 的最新公共版本和 xcode 13 的第一个测试版。它们都不起作用。崩溃报告如下所示:
CrashReporter Key: 6A42AE7B-E923-027C-2A0C-C8BB6FEC5FCA
Hardware Model: MacBookAir10,1
Process: ToSports [10111]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/9F8401F5-AAAE-4F54-A093-5E26F429FC8C/data/Containers/Bundle/Application/321B292E-186C-445A-882D-D604A59C7183/ToSports.app/ToSports
Identifier: com.ToSports
Version: 1.0 (1)
Code Type: X86-64 (Native)
Role: Foreground
Parent Process: Exited process [10134]
Coalition: com.apple.CoreSimulator.SimDevice.9F8401F5-AAAE-4F54-A093-5E26F429FC8C [5668]
Responsible Process: SimulatorTrampoline [1056]
Date/Time: 2021-06-10 14:00:11.9151 +0300
Launch Time: 2021-06-10 14:00:05.8233 +0300
OS Version: macOS 12.0 (21A5248p)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_ACCESS …Run Code Online (Sandbox Code Playgroud)