在 Xcode 13 beta 中运行模拟器,我遇到了崩溃?我该怎么办?
_validateTextureView:557: failed assertion `Texture View Validation
cannot create View from Memoryless texture.
texture usage (0x04) doesn't specify MTLTextureUsagePixelFormatView (0x10)
'
dyld4 config: DYLD_ROOT_PATH=/Users/****/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/****/Library/Developer/Xcode/DerivedData/Truckloads-cpaazflnngvcgdegppomicvsczis/Build/Products/Debug-iphonesimulator:/Users/****/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Users/****/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Users/****/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Users/****/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/****/Library/Developer/Xcode/DerivedData/Truckloads-cpaazflnngvcgdegppomicvsczis/Build/Products/Debug-iphonesimulator
_validateTextureView:557: failed assertion `Texture View Validation
cannot create View from Memoryless texture.
texture usage (0x04) doesn't specify MTLTextureUsagePixelFormatView (0x10)
'
CoreSimulator 772.1 - Device: iPhone 12 Pro Max (84610676-549B-47F6-A87E-D0B4877032ED) - Runtime: iOS 15.0 (19A5261u) - DeviceType: iPhone 12 Pro Max
(lldb)
Run Code Online (Sandbox Code Playgroud)
小智 12
这对我有用。
您应该可以通过在方案 -> 编辑方案 -> 运行 -> 诊断 -> Metal API 验证中关闭 Metal 验证来解决此问题
来自苹果: https: //developer.apple.com/forums/thread/683832
| 归档时间: |
|
| 查看次数: |
136 次 |
| 最近记录: |