iOS打包上传出错

iOS打包上传出错 targets也只有一个



2017-11-01 10:37:09.996344+0800 FZMJ-mobile[99335:894731] *** Assertion failure in void _UIApplicationMainPreparations(int, char **, NSString *__strong, NSString *__strong)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3698.21.6/UIApplication.m:3846
2017-11-01 10:37:10.038549+0800 FZMJ-mobile[99335:894731] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Unable to instantiate the UIApplication subclass instance. No class named NSApplication is loaded.’
*** First throw call stack:
(
0 CoreFoundation 0x0000000112eba1ab __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000118887f41 objc_exception_throw + 48
2 CoreFoundation 0x0000000112ebf372 +[NSException raise:format:arguments:] + 98
3 Foundation 0x0000000117a0e523 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 165
4 UIKit 0x000000011578fbf3 _UIApplicationMainPreparations + 625
5 UIKit 0x000000011578f918 UIApplicationMain + 111
6 FZMJ-mobile 0x000000010fe34a34 main + 100
7 libdyld.dylib 0x0000000119331d81 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

看这句

Unable to instantiate the UIApplication subclass instance. No class named NSApplication is loaded.

无法实例化UIApplication子类实例。 没有加载名为NSApplication的类。

然后呢?怎么改?