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 xcode7下, 编译 example成功,运行报如下错误,是怎么回事啊 #140

Open
Debenson opened this issue Sep 22, 2015 · 5 comments

Comments

@Debenson
Copy link

2015-09-22 23:13:05.856 example[6572:427606] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application windows are expected to have a root view controller at the end of application launch'
*** First throw call stack:

@gavinkwoe
Copy link
Owner

所有window 必须要有root view controller

@kakuchichi
Copy link

没解决之前 你可以把services中继承BeeUIWindow的grid inspector给移除掉

@jickyi521
Copy link

打log,rootViewControl也有的。用下面替换是好的,也不知道root casue 是什么。
UIViewController *viewController = [[UIViewController alloc] init];
self.window.rootViewController = viewController;
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];

@realcarlos
Copy link

官方能不能更新一个Example?第一次运行就出错,让人很不放心啊。

@927141965
Copy link

打开Bee_Precompile.h 然后将
#define BEE_DEVELOPMENT (OFF)
#define BEE_PERFORMANCE (OFF)
#define BEE_LOG (OFF)
#define BEE_UNITTEST (OFF)
#define BEE_LIVELOAD (OFF)
改成OFF就好了

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

6 participants