疯狂的二进制
疯狂的二进制
  • 发布:2015-08-19 00:27
  • 更新:2017-04-28 18:52
  • 阅读:3295

ios离线打包,模拟器运行黑屏

分类:5+ SDK
小白一枚。。。。在xcode中离线打包时,想要减小安装包发布时的体积,但遇到了问题:未在“Linking”下的“Other Linker Flags”中删除没用到的模块时运行正常,当删除一些模块后运行,则黑屏。  
是不是除了操作“Other Linker Flags”中的列表,还要进行别的什么操作啊?   求大神帮忙看下  

界面图:

模块列表图:

日志:

2015-08-24 01:19:26.702 HBuilder[1399:29340] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/LinJie/Library/Developer/CoreSimulator/Devices/476E2C68-082B-463E-8F42-021A4244A12D/data/Containers/Data/Application/DE51CAF3-964B-4EE0-9920-8D9501687E4A/Library/Cookies/Cookies.binarycookies
2015-08-24 01:19:26.740 HBuilder[1399:29340] -[NSCFString JSONValue]: unrecognized selector sent to instance 0x7f924ac9dbf0
2015-08-24 01:19:26.753 HBuilder[1399:29340] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[
NSCFString JSONValue]: unrecognized selector sent to instance 0x7f924ac9dbf0'
*** First throw call stack:
(
0 CoreFoundation 0x000000010fbd1c65 exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010f86abb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010fbd90ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010fb2f13c __forwarding
+ 988
4 CoreFoundation 0x000000010fb2ecd8 _CF_forwarding_prep_0 + 120
5 HBuilder 0x000000010b208c9e -[PDRCoreAppCongfigParse load] + 182
6 HBuilder 0x000000010b1f3508 -[PDRCoreApp load] + 488
7 HBuilder 0x000000010b1ecbe4 -[PDRCoreAppManager load] + 211
8 HBuilder 0x000000010b1e5e4c -[PDRCore load] + 761
9 HBuilder 0x000000010b1d2786 -[AppDelegate application:didFinishLaunchingWithOptions:] + 102
10 UIKit 0x000000010e599748 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 240
11 UIKit 0x000000010e59a357 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2540
12 UIKit 0x000000010e59d19e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1349
13 UIKit 0x000000010e59c095 -[UIApplication workspaceDidEndTransaction:] + 179
14 FrontBoardServices 0x000000011429f5e5 __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 21
15 CoreFoundation 0x000000010fb0541c CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12
16 CoreFoundation 0x000000010fafb165 CFRunLoopDoBlocks + 341
17 CoreFoundation 0x000000010fafa947
CFRunLoopRun + 887
18 CoreFoundation 0x000000010fafa366 CFRunLoopRunSpecific + 470
19 UIKit 0x000000010e59bb02 -[UIApplication _run] + 413
20 UIKit 0x000000010e59e8c0 UIApplicationMain + 1282
21 HBuilder 0x000000010b1d2c43 main + 99
22 libdyld.dylib 0x000000011055d145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

2015-08-19 00:27 负责人:无 分享
已邀请:
DCloud_IOS_XTY

DCloud_IOS_XTY

不要删除-ObjC

  • freedemon

    不删除会报错啊

    2017-07-11 17:07

6***@qq.com

6***@qq.com

你这个问题解决了吗? 是哪里的问题?

如烟OA

如烟OA

请问你解决了吗?

该问题目前已经被锁定, 无法添加新回复