离子:异常' nsinternalinconsistencyException'电容器迁移后使用相机
我将离子应用程序从科尔多瓦迁移到电容器。当我测试相机(带有Cordova插件)时,我会有此错误。因此,我也使用电容器摄像头进行测试,并且有同样的错误。
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'main thread only'
terminating with uncaught exception of type NSException
(lldb)
I migrate my ionic app from cordova to capacitor. When I test camera(with cordova plugin) I have this bug. So I test also with capacitor camera and I have the same bug.
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'main thread only'
terminating with uncaught exception of type NSException
(lldb)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决方案,
我将其添加到info.plist
I found solution,
I add this to info.plist