const nativiPlugin = uni.requireNativePlugin('DCTestUniPlugin'); nativiPlugin是undefined,
但是在Xcode编译工程,xcode工程导入uniapp 包,运行是正常的,也就是说只是单向链路不通。
这个现象是近期发生的,去年到今年上半年没有修改过任何代码,之前运行都是好的,近期发现突然用不了
另外发现uni调插件市场的插件也是报undefined。比如这个就是: const dcRichAlert = uni.requireNativePlugin('DCloud-RichAlert') dcRichAlert为undefined