当前位置: > Linux故障 >

Could not successfully update network info during initializa

时间:2014-11-04 15:44来源:linux.it.net.cn 作者:it

Could not successfully update network info during initialization.

Sep  7 14:40:39 Administratormato-iPod backboardd[52] <Warning>: Application 'UIKitApplication:com.rrmrocks.--[0x9975]' exited abnormally with signal 6: Abort trap: 6

Sep  7 14:40:39 Administratormato-iPod ReportCrash[278] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary

Sep  7 14:40:39 Administratormato-iPod ReportCrash[278] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/球场_2013-09-07-144038_Administratormato-iPod.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

 

 

 

查到的原因:
 是使用ASIHTTP包,某些地方开启了Debug,如果你打包用的是release,则网络请求某些功能用不了。
解决:
1:应该把debug关闭
以前不是很清楚原因,现在明白了;这个是ASIHTTP包的bug,你可以这样处理它;
选中target/项目后,在build phases选项中的compile Sources里找到ASIHTTP包的文件,点击加上运行参数-O0(capitol O zero)即可;
实际上主要是这两个编译文件(ASIFormDataRequest.m ASIHTTPRequest.m)加参数[-fno-objc-arc -O0]
(http://stackoverflow.com/questions/9123975/asihttprequest-fails-in-production-builds);
(责任编辑:IT)
------分隔线----------------------------