VFR阅读器崩溃在iOS8 [英] VFR-Reader Crashing in iOS8

查看:294
本文介绍了VFR阅读器崩溃在iOS8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我测试了一个目前在iOS8上使用VFR-Reader-Core的应用程序,当我尝试从它打开一个PDF时,我得到了一个完全崩溃。我是唯一一个有这个问题吗?任何想法,在哪里可以搜索纠正这个? 这是崩溃报告

I tested an app that is currently working with the VFR-Reader-Core on iOS8 and I get a complete crash when I try to open a PDF from it. Am I the only one with this problem? any idea of where I can search to correct this? Here is the crash report

谢谢您

推荐答案

在iOS 8中,应用容器的Te文件系统布局已更改。应用程序及其内容不再存储在一个根目录中。

In iOS 8, Te file system layout of app containers has changed. Applications and their content are no longer stored in one root directory.

从iOS 8发行说明:

From the iOS 8 Release Notes:


应用程序容器的文件系统布局在磁盘上已更改。
比依靠硬编码的目录结构,请使用
NSSearchPathForDirectoriesInDomains 函数或
URLForDirectory:inDomain:appropriateForURL:create:error: 方法
NSFileManager类。请参见访问文件和目录,位于文件
系统编程指南

我可以看到VFRReader不遵循上面的建议从苹果。

I've had a brief look into the issue and i can see that VFRReader does not follow the above recommendations from Apple.

我将在Github页面上解决一个问题,但问题跟踪似乎已被禁用。如果我今天得到一些额外的时间,我会考虑解决这个问题,并提出一个拉请求。

I was going to rase an issue on the Github page however issue tracking seems to have been disabled. If i get some extra time today, I will look into resolving this and raising a pull request.

编辑:适用于iOS8的版本: https://github.com/liamnichols/Reader

我也在原始库存中提交了拉式请求: https://github.com/vfr/Reader/pull/54

Check out my fork for a version that works on iOS8: https://github.com/liamnichols/Reader
I've also submitted a pull request on the original repo: https://github.com/vfr/Reader/pull/54

这篇关于VFR阅读器崩溃在iOS8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆