https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html
微信版本:8.0.29
ios版本:16.0.2
手机型号:iphone 13 pro
使用官方自带示例,真机调试时,报错
runtime.js?devtools_ignore=true:1 eval script evaluate_i #21 failed TypeError: Cannot read property 'setValidInit' of undefined
at Je.eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1211547)
at Je.S.Je.emit (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1039579)
at emitInternal (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1044454)
at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1047341)
at a.emit (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:82724)
at P.dispatch (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:87510)
at P.cb (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:87985)
at i.emit (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:82343)
at Object.subscribeHandler (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:84969)
at Ae (runtime.js?devtools_ignore=true:1)
value @ runtime.js?devtools_ignore=true:1
re @ runtime.js?devtools_ignore=true:1
Pe @ runtime.js?devtools_ignore=true:1
Le.He.onmessage @ runtime.js?devtools_ignore=true:1
我这里测试没出现过这个问题,你那里必现的吗?工具什么版本
有人能回复一下吗?没有人遇到这样的问题?