当我从XCTestCase运行XCUIScreen.main.screenshot() (在Xcode10GM中)时,测试崩溃并显示:
dyld: lazy symbol binding failed: can't resolve symbol _XCStringFromRect in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/../../Library/Frameworks/XCTest.framework/XCTest because