Closed yuanjunxiao closed 2 years ago
这个error会打印一遍 2021-12-14 14:26:16.383360+0800 CefViewWing (GPU)[52431:20128290] [1214/142616.383192:ERROR:vt_video_encode_accelerator_mac.cc(537)] VTCompressionSessionCreate failed: -12903 [1214/142616.383192:ERROR:vt_video_encode_accelerator_mac.cc(537)] VTCompressionSessionCreate failed: -12903
下边的打印信息会不停的打印,请问是什么原因呢? 2021-12-14 14:27:24.400414+0800 CefViewWing (GPU)[52431:20128338] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x60000097c500> (Domain: kCFPreferencesAnyApplication, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access
这个跟沙盒访问文件权限有关,可能需要把你的主app跟CefWing添加到同一个app group里面
这个error会打印一遍 2021-12-14 14:26:16.383360+0800 CefViewWing (GPU)[52431:20128290] [1214/142616.383192:ERROR:vt_video_encode_accelerator_mac.cc(537)] VTCompressionSessionCreate failed: -12903 [1214/142616.383192:ERROR:vt_video_encode_accelerator_mac.cc(537)] VTCompressionSessionCreate failed: -12903
下边的打印信息会不停的打印,请问是什么原因呢? 2021-12-14 14:27:24.400414+0800 CefViewWing (GPU)[52431:20128338] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x60000097c500> (Domain: kCFPreferencesAnyApplication, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access