It does not work with IOS system wide broadcast
Always gets a crash here
in VCPreview
CVMetalTextureCacheCreate(kCFAllocatorDefault, nil, device, nil, &cache)
let defaultLibrary: MTLLibrary!
guard let libraryFile = Bundle(for: type(of: self)).path(forResource: "default", ofType: "metallib") else {
fatalError(">> ERROR: Couldnt find a default shader library path")
}
do {
try defaultLibrary = device.makeLibrary(filepath: libraryFile)
} catch {
fatalError(">> ERROR: Couldnt create a default shader library")
}
It does not work with IOS system wide broadcast
Always gets a crash here
in VCPreview
CVMetalTextureCacheCreate(kCFAllocatorDefault, nil, device, nil, &cache)