iOS崩溃:库未加载mremap_encrypted [英] iOS crash: library not loaded mremap_encrypted
问题描述
应用审核小组表示,我的应用在发布时总是崩溃,他们给了我一些崩溃日志,如下所示:
The app review team says my app always crash on launch, they gave me some crash logs, looks like this:
Dyld Error Message:
Dyld Message: Library not loaded: @rpath/RestKit.framework/RestKit
Referenced from: /var/mobile/Containers/Bundle/Application/EF2027CE-CEE4-4DB3-AC86-7AA3796FE67C/Udinn.app/Udinn
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/EF2027CE-CEE4-4DB3-AC86-7AA3796FE67C/Udinn.app/Frameworks/RestKit.framework/RestKit: mremap_encrypted() => -1, errno=12 for /private/var/mobile/Containers/Bundle/Application/EF2027CE-CEE4-4DB3-AC86-7AA3796FE67C/Udinn.app/Frameworks/RestKit.framework/RestKit
Dyld Version: 370.1
这是动态链接错误,似乎在加载RestKit.framework(其他日志是关于其他框架,像SwiftAddressbook,TransitionKit,但所有有相同的原因),我没有看到很多人有类似的错误与mmap错误1,但没有任何一个遇到相同的错误mremap_encrypted与我。问题是我不能重现它,所以我不知道如果上传一个新的二进制文件可以工作。任何身体有一个想法这意味着什么,如何解决它?谢谢。
This is dynamic link error, seems it's failed when load RestKit.framework(other logs are about other frameworks, like SwiftAddressbook, TransitionKit, but all with a same reason), I did see a lot people have a similar error with "mmap error 1", but not any one met the same error "mremap_encrypted" with me. The problem is I can't reproduce it, so I have no idea if upload a new binary could work. Any body has an idea what this means and how to fix it? Thanks.
推荐答案
我认为问题是内存不足和iOS不是真的处理这个很好的方式,并且,当您重新提交应用程序时,您的应用程序被接受的唯一原因是因为(新的)审核人的设备不在同一个情况。
I think the issue is a matter of running out of memory and iOS not really dealing with this in a great way and that the only reason your app was accepted when you resubmitted was because the (new) reviewer’s device was not in the same situation.
我在我们的应用程序的repo写了一个问题: https://github.com/artsy/ eigen / issues / 1246
I did a write-up of the issue on our app’s repo: https://github.com/artsy/eigen/issues/1246
这篇关于iOS崩溃:库未加载mremap_encrypted的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!