Ezviz-Open / EzvizSDK-iOS

config wifi(配网)realplay(直播) playback(回放)talk(对讲)
https://open.ys7.com
6 stars 1 forks source link

-[MTLDebugDevice newLibraryWithFile:error:]:1860: failed assertion `filepath must not be nil.' #5

Open Fublvckmagik opened 3 years ago

Fublvckmagik commented 3 years ago

When I initialized player view and call "player.startRealPlay()" I get this error: -[MTLDebugDevice newLibraryWithFile:error:]:1860: failed assertion `filepath must not be nil.'

lovederh commented 3 years ago

i meet the same problem, sos

lovederh commented 3 years ago

发起工单,在官方帮助下解决了这个问题, 在sdk中有一个resource文件夹 , 将此文件夹放在你的主工程下即可解决

minhotmt commented 3 years ago

i copied file .metalib into project and it fixed this error. download file in: https://github.com/Ezviz-Open/EzvizSDK-iOS/blob/master/Res/com.hri.hpc.mobile.ios.player.metallib