Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS9 运行报 NSScanner: nil string argument #139

Open
developerXiaoquan opened this issue Sep 18, 2015 · 4 comments
Open

IOS9 运行报 NSScanner: nil string argument #139

developerXiaoquan opened this issue Sep 18, 2015 · 4 comments

Comments

@developerXiaoquan
Copy link

2015-09-18 11:56:21.748 priest[13260:339368] *** Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3505.16/UIApplication.m:3294
2015-09-18 11:56:24.068 priest[13260:339368] NSScanner: nil string argument
2015-09-18 11:56:24.068 priest[13260:339368] NSScanner: nil string argument
libc++abi.dylib: terminate_handler unexpectedly threw an exception

期望更新处理. 辛苦了.

@developerXiaoquan
Copy link
Author

上面说的只要在Bee_Precompile.h文件中把 BEE_DEVELOPMENT 设置成 ON 就会出现 设置成OFF就好了。 这样开发的时候Liveload功能就无法使用了。

@gavinkwoe
Copy link
Owner

是否有分析出是什么原因造成的?

@developerXiaoquan
Copy link
Author

是某一个service导致的,我把所有的service删除掉设置BEE_DEVELOPMENT为ON并没有问题, 然后添加了bee.services.liveload并没有报错,既然liveload能用就没再去折腾看是哪个具体的service报错了。

附上最开始报错使用到的service:

  1. bee.services.debugger
  2. bee.services.grid
  3. bee.services.inspector
  4. bee.services.liveload
  5. bee.services.logger
  6. bee.services.network
  7. bee.services.network.browser
  8. bee.services.network.server
  9. bee.services.wizard

@kakuchichi
Copy link

发现是services中 grid inspector这类继承BeeUIWindow的,window没有设置rootViewController的缘故~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants