ios包运行就崩溃的问题之一
2016-10-14 14:33
169 查看
现象描述:
打好iap包后,安装到测试设备上,然后点击icon,客户端闪现一下开机画面,然后马上就崩溃掉,查看设备的实时日志显示为
Oct 13 21:31:34 ipad SpringBoard[54] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Oct 13 21:31:34 ipad SpringBoard[54] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Oct 13 21:31:34 ipad kernel[0] <Notice>: xpcproxy[1325] Container: /private/var/mobile/Containers/Data/Application/84613D2A-A2A1-4DDD-88A7-C122D06E7082 (sandbox)
Oct 13 21:31:34 ipad com.apple.xpc.launchd[1] (UIKitApplication:com.xx.xxx[0x84df][1325]) <Notice>: Service exited due to signal: Trace/BPT trap: 5
Oct 13 21:31:34 ipad ReportCrash[1324] <Notice>: Formulating report for corpse[1325] Appname
Oct 13 21:31:34 ipad SpringBoard[54] <Warning>: Application 'UIKitApplication:com.xx.xxx[0x84df]' crashed.
Oct 13 21:31:34 ipad ReportCrash[1324] <Warning>: Saved type '109(109_Appname)' report (11 of max 25) at /var/mobile/Library/Logs/CrashReporter/Appname-2016-10-13-213134.ips
解析崩溃日志显示为:
Dyld Error Message:
Dyld Message: Symbol not found: _kABPersonAddressStreetKey
Referenced from: /var/containers/Bundle/Application/839B8B04-97A0-447B-88CC-01D51CFDF8D7/Appname.app/
Expected in: dyld shared cache
解决的过程:
开始以为是代码中使用了ABPersonAddressStreetKey的问题,随后处理了问题依旧。
通过NSLOG方式,发现程序并未之行didFinishLaunchingWithOptions方法,所以确定为不是代码问题。
于是各种配置猜测,path对不对,keychain对不对,第三方库是否支持.....
最终找到了问题的原因,是因为xocde配置工程的时候,打开了wallet能力,而工程的证书里边并没有包含wallet能力(工程中没有打开xcode管理证书)
蓝瘦香菇.....
打好iap包后,安装到测试设备上,然后点击icon,客户端闪现一下开机画面,然后马上就崩溃掉,查看设备的实时日志显示为
Oct 13 21:31:34 ipad SpringBoard[54] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Oct 13 21:31:34 ipad SpringBoard[54] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Oct 13 21:31:34 ipad kernel[0] <Notice>: xpcproxy[1325] Container: /private/var/mobile/Containers/Data/Application/84613D2A-A2A1-4DDD-88A7-C122D06E7082 (sandbox)
Oct 13 21:31:34 ipad com.apple.xpc.launchd[1] (UIKitApplication:com.xx.xxx[0x84df][1325]) <Notice>: Service exited due to signal: Trace/BPT trap: 5
Oct 13 21:31:34 ipad ReportCrash[1324] <Notice>: Formulating report for corpse[1325] Appname
Oct 13 21:31:34 ipad SpringBoard[54] <Warning>: Application 'UIKitApplication:com.xx.xxx[0x84df]' crashed.
Oct 13 21:31:34 ipad ReportCrash[1324] <Warning>: Saved type '109(109_Appname)' report (11 of max 25) at /var/mobile/Library/Logs/CrashReporter/Appname-2016-10-13-213134.ips
解析崩溃日志显示为:
Dyld Error Message:
Dyld Message: Symbol not found: _kABPersonAddressStreetKey
Referenced from: /var/containers/Bundle/Application/839B8B04-97A0-447B-88CC-01D51CFDF8D7/Appname.app/
Expected in: dyld shared cache
解决的过程:
开始以为是代码中使用了ABPersonAddressStreetKey的问题,随后处理了问题依旧。
通过NSLOG方式,发现程序并未之行didFinishLaunchingWithOptions方法,所以确定为不是代码问题。
于是各种配置猜测,path对不对,keychain对不对,第三方库是否支持.....
最终找到了问题的原因,是因为xocde配置工程的时候,打开了wallet能力,而工程的证书里边并没有包含wallet能力(工程中没有打开xcode管理证书)
蓝瘦香菇.....
相关文章推荐
- iOS应用运行时在设置中更改权限应用崩溃问题
- 【iOS开发】静态库导致的运行时崩溃问题
- iOS POS之 AsyncSocket release环境运行崩溃问题
- iOS应用运行时在设置中更改权限应用崩溃问题
- 三十,iOS当使用运行时替换了NSArrary的方法之后,弹出键盘进入后台然后在进入前台会出现崩溃的问题
- ios中使用asi崩溃的问题解决
- iOS 和 Android 中的后台运行问题
- ios之XCode调试,程序崩溃问题详解
- Xcode 4.6.2 运行次数为偶数程序崩溃问题
- IOS错误异常一个未知的实例在运行,出现程序崩溃
- ios下一个4字节对齐引起崩溃的问题
- ios中关于使用arc,并且使用了ASIhttp请求较多发生崩溃问题的解决
- IOS开发问题解决之Xcode运行程序时attaching to挂起不动
- DELPHI XE5 UP2 运行IOS 遇到 Wrapper init failed: (null)问题的解决办法
- 解决Unity 3D 在运行iOS程序时出现mscorlib.dll找不到的问题
- Cocos2d-x 在 ios 5.1.1 上弹出 Alert 框崩溃的问题
- Xcode 4.6.2 运行次数为偶数程序崩溃问题
- 【案例分享】关于工程中同时链接了某库源码和该库so情况下,模块运行崩溃的问题跟进
- ios 4.x上的工程编译在3.x上的运行时的问题
- Xcode 4.6.2 运行次数为偶数程序崩溃问题