gavinkwoe / BeeFramework

[Experimental] A semi-hybrid framework that allows you to create mobile apps using Objective-C and XML/CSS
MIT License
3.33k stars 1.06k forks source link

在ios9 xcode7下, 编译 example成功,运行报如下错误,是怎么回事啊 #140

Open Debenson opened 8 years ago

Debenson commented 8 years ago

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 commented 8 years ago

所有window 必须要有root view controller

kakuchichi commented 8 years ago

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

jickyi521 commented 8 years ago

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

realcarlos commented 8 years ago

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

927141965 commented 8 years ago

打开Bee_Precompile.h 然后将

define BEE_DEVELOPMENT (OFF)

define BEE_PERFORMANCE (OFF)

define BEE_LOG (OFF)

define BEE_UNITTEST (OFF)

define BEE_LIVELOAD (OFF)

改成OFF就好了