新建iOS工程,pod WeexSDK,加载http://##ip##:8080/dist/mine.weex.js,报错。
ringa_lee
ringa_lee 2017-04-18 09:54:26
0
1
765

报错信息如下:
[4587:1273592] [fg255,0,0; <Weex>[error]WXMonitor.m:196, [undefined:196:22] ReferenceError: Can't find variable: weex

webpack_require

webpack_require

webpack_require

anonymous
main.js:4:11232
init@main.js:4:11484
createInstance@main.js:4:4693
main.js:1:1775 [;

我用playground跑这个url是能够跑的。
我的代码跑本地.js文件也是可以加载成功。

  • SocketRocket, 0.5.1

  • WeexSDK, 0.9.4

我把WeexSDK换到0.10.1也是相同的问题

ringa_lee
ringa_lee

ringa_lee

reply all(1)
Peter_Zhu

Create a new project and just follow the code in the demo again. . .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template