我正在尝试运行一个现有的应用程序,看看它与最新的 Xcode 测试版配合得如何,并尝试在现有项目中使用 SwiftUI。当我在模拟器上运行项目时,出现以下运行时崩溃:
dyld: Symbol not found: __ZTISt11logic_error
Referenced from: /Users/lucas/Library/Developer/CoreSimulator/Devices/224333CF-0388-4F57-9633-6CAB37B33510/data/Containers/Bundle/Application/<Guid>/<AppName>.app/<AppName>
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
in /Users/<name>/Library/Developer/CoreSimulator/Devices/224333CF-0388-4F57-9633-6CAB37B33510/data/Containers/Bundle/Application/<Guid>/<AppName>.app/<AppName>
将所有内容设置为 iOS 13 会使错误消失,但这在不久的将来不会起作用。还尝试删除与音频和 AV 框架相关的任何内容,但这无济于事。