我的项目过去通常可以正常运行,但是现在当运行一段时间后,它突然崩溃。 错误消息:
dyld: Library not loaded: @rpath/libswiftSwiftOnoneSupport.dylib
Referenced from: /Users/qizijia/Library/Developer/CoreSimulator/Devices/7CDDEA9B-0ADD-4A64-8084-BCFBBDF40483/data/Containers/Bundle/Application/FE1EC391-A6B7-44F7-AEDE-DB643B125DBB/ppp.app/Frameworks/CircleMenu.framework/CircleMenu
Reason: no suitable image found. Did find:
/usr/lib/swift/libswiftSwiftOnoneSupport.dylib: mach-o, but not built for iOS simulator
/usr/lib/swift/libswiftSwiftOnoneSupport.dylib: mach-o, but not built for iOS simulator
我尝试按照dyld: Library not loaded: @rpath/libswiftSwiftOnoneSupport.dylib的回答进行操作,但这没有帮助。
答案 0 :(得分:0)
original_stdout_fd = sys.stdout.fileno()
AttributeError: 'FlushingStringIO' object has no attribute 'fileno'