问题描述:使用npm run build:app-plus、npm run dev:app-plus可以正常打出app-plus资源包,但是使用HBuilderX上 发行->原生App-制作应用wgt包,却打包失败,之后参照其他人的解决方式解决:注释掉uni.config.js、chain-webpack.js相关代码。之后,可以正常打出wgt包。
然后,按照“在原生App里集成uni小程序sdk”的步骤,将wgt包接入iOS原生App中,但是报“manifest.JSON解析失败请确保格式正确并不能包含注释”错误,同时还有“Could not load the "unilogo" image referenced from a nib in the bundle with identifier "com.xxx.xxx"”错误。
tips:已将源码中manifest.JSON的注释删除。

2***@qq.com
- 发布:2023-10-19 15:17
- 更新:2023-10-23 17:19
- 阅读:506
