in iOS15 beta we found a crash, such use like "[AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo]"
*** -initWithReferencedObject: only defined for abstract class. Define -[AVWeakReference initWithReferencedObject😃 ! ( 0 CoreFoundation 0x0000000181f72fa4 4B514B9D-2B35-32CA-A93F-481D3A903177 + 888740 1 libobjc.A.dylib 0x000000019a62e21c objc_exception_throw + 60 2 CoreFoundation 0x0000000181fffce0 4B514B9D-2B35-32CA-A93F-481D3A903177 + 1465568 3 AVFCore 0x000000018b084338 AVRequestConcreteImplementation + 168 4 AVFCore 0x000000018b085d2c E320209B-2A8E-3399-8F24-05EA58FD6970 + 1301804 5 AVFCapture 0x00000001a083800c 1DD1D696-A915-362D-9AAB-3A89AECCE95B + 32780 6 AVFCapture 0x00000001a0837e80 1DD1D696-A915-362D-9AAB-3A89AECCE95B + 32384 7 AVFCapture 0x00000001a083a14c 1DD1D696-A915-362D-9AAB-3A89AECCE95B + 41292 8 AVFCapture 0x00000001a086e0c0 1DD1D696-A915-362D-9AAB-3A89AECCE95B + 254144 9 AVFCapture 0x00000001a0878d84 1DD1D696-A915-362D-9AAB-3A89AECCE95B + 298372