现在的位置: 首页 > 综合 > 正文

Cannot find executable for CFBundle “CertUIFramework.axbundle”错误方法

2018年04月19日 ⁄ 综合 ⁄ 共 601字 ⁄ 字号 评论关闭

解决方法参考:

http://blog.csdn.net/id0096/article/details/18831721

https://gist.github.com/alloy/9277316

/ When the `accessibility inspector' is enabled on the iOS Simulator the private `UIAccessibility'
// framework is loaded. In turn it will try to load a list of bundles amongst which is one that has
// only resources, no executable. This leads to `CFBundleLoadExecutableAndReturnError' logging this
// offending error message.

accessibility inspector 可用的时候,ios 模拟器会调用私有api:UIAccessibility,这个时候模拟器回去加载一个不可执行的资源,爆出CFBundleLoadExecutableAndReturnError 异常并打印

比较方便的解决方法是:


1. 还原模拟器的设置

2. 如果第一步不行,在mac系统里面新建一个用户,在新用户下不会报错

3. 使用 https://gist.github.com/alloy/9277316 的代码解决方案

抱歉!评论已关闭.