注册

pod EaseUI 后报错

已邀请:
建议先创建一个全新的项目,根据官方的集成教程
 
http://www.imgeek.org/video/39
 
来测试sdk功能, 然后再去自己的项目中集成。
pod 好后集成单聊点击进入崩溃并报错
NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: nil URL argument' 

(

    0   CoreFoundation                      0x00000001818ed918 <redacted> + 148

    1   libobjc.A.dylib                     0x0000000180f5bf80 objc_exception_throw + 56

    2   CoreFoundation                      0x00000001818ed848 <redacted> + 0

    3   Foundation                          0x0000000182239b78 <redacted> + 104

    4   Foundation                          0x0000000182239afc <redacted> + 48

    5   EaseUI                              0x000000010040225c -[EaseChatToolbar _setupSubviews] + 1744

    6   EaseUI                              0x0000000100401b58 -[EaseChatToolbar initWithFrame:horizontalPadding:verticalPadding:inputViewMinHeight:inputViewMaxHeight:type:] + 896

    7   EaseUI                              0x000000010040177c -[EaseChatToolbar initWithFrame:type:] + 108

    8   EaseUI                              0x0000000100438a7c -[EaseMessageViewController viewDidLoad] + 820

    9   Risenb                              0x000000010011a578 -[ChatMobViewController viewDidLoad] + 68

    10  UIKit                               0x00000001865e00c0 <redacted> + 996

    11  UIKit                               0x00000001865f84a8 <redacted> + 132

    12  UIKit                               0x0000000186791ce4 <redacted> + 1052

    13  UIKit                               0x000000018669e9b8 <redacted> + 688

    14  UIKit                               0x000000018669e694 <redacted> + 60

    15  UIKit                               0x000000018669e5fc <redacted> + 208

    16  UIKit                               0x00000001865db778 <redacted> + 656

    17  QuartzCore                          0x0000000183feab2c <redacted> + 148

    18  QuartzCore                          0x0000000183fe5738 <redacted> + 292

    19  QuartzCore                          0x0000000183fe55f8 <redacted> + 32

    20  QuartzCore                          0x0000000183fe4c94 <redacted> + 252

    21  QuartzCore                          0x0000000183fe49dc <redacted> + 512

    22  UIKit                               0x00000001865d1c78 <redacted> + 180

    23  CoreFoundation                      0x00000001818a4588 <redacted> + 32

    24  CoreFoundation                      0x00000001818a232c <redacted> + 372

    25  CoreFoundation                      0x00000001818a275c <redacted> + 928

    26  CoreFoundation                      0x00000001817d1680 CFRunLoopRunSpecific + 384

    27  GraphicsServices                    0x0000000182ce0088 GSEventRunModal + 180

    28  UIKit                               0x0000000186648d90 UIApplicationMain + 204

    29  Risenb                              0x000000010014255c main + 124

    30  libdyld.dylib                       0x00000001813728b8 <redacted> + 4

)

2018-06-27 13:40:01.468 Risenb[3768:1945855] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: nil URL argument'

*** First throw call stack:

(0x1818ed900 0x180f5bf80 0x1818ed848 0x182239b78 0x182239afc 0x10040225c 0x100401b58 0x10040177c 0x100438a7c 0x10011a578 0x1865e00c0 0x1865f84a8 0x186791ce4 0x18669e9b8 0x18669e694 0x18669e5fc 0x1865db778 0x183feab2c 0x183fe5738 0x183fe55f8 0x183fe4c94 0x183fe49dc 0x1865d1c78 0x1818a4588 0x1818a232c 0x1818a275c 0x1817d1680 0x182ce0088 0x186648d90 0x10014255c 0x1813728b8)

libc++abi.dylib: terminating with uncaught exception of type NSException

await - 90后IT

大哥,我按照文档搭建完整版的开发环境后,执行npm run dev,然后浏览器自动打开http://localhost:3000/页面,终端没有报错,但是打开的页面没有显示,浏览器控制台报错了,这个是怎么回事啊?有遇到过这个问题吗

要回复问题请先登录注册