我正在尝试运行一个现有的应用程序,以便查看它在最新的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框架有关的任何内容,但没有帮助。