ios - Swift Binary 被拒绝,我无法重现崩溃

标签 ios iphone swift sdk

Apple 刚刚拒绝了我的应用程序,因为他们声称它在启动时崩溃了。 详细的崩溃日志是:

Version:             143 (1.1)
Code Type:           ARM-64 (Native)
Parent Process:      launchd [1]

Date/Time:           2016-01-12 16:10:55.55 -0800
Launch Time:         2016-01-12 16:10:54.54 -0800
OS Version:          iOS 9.2 (13C75)
Report Version:      105

Filtered syslog:
None found

Dyld Error Message:
Dyld Message: Library not loaded: @rpath/FBSDKLoginKit.framework/FBSDKLoginKit
  Referenced from: /var/mobile/Containers/Bundle/Application/xxx
  Reason: no suitable image found.  Did find:
    /private/var/mobile/Containers/Bundle/Application/xxx
xxx.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit: mremap_encrypted() => -1, errno=12 for /private/var/mobile/Containers/Bundle/Application/xxx
xxx.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit

/private/var/mobile/Containers/Bundle/Application/ xxx.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit: mremap_encrypted() => -1, errno=12 for /private/var/mobile/Containers/Bundle/Application/
xxx.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit

/private/var/mobile/Containers/Bundle/Application/
Dyld Version: 370.6

该应用程序编写得很快,问题是我无法在任何设备上重现崩溃。我在 iPhone 5、6 和 6s Plus 上进行了测试。您是否知道可能导致该问题的原因、如何重现该问题以及如何最终解决该问题?这里的其他一些线程说,如果您重新提交应用程序可能会被接受,那么这个建议是否有效?预先感谢您的回答

编辑 1 我忘了说该应用程序在 1.1 版本中被拒绝了,在 1.0 版本中没有被拒绝

编辑2 我联系了苹果开发者支持,他们的回答与 FBSDKLoginKit 框架无关

我今天写信给您是为了答复您有关应用程序崩溃的询问。

审核您的案例后,我们确定您可能在项目的代码签名设置中使用资源规则。不再支持资源规则。请检查 Xcode 中的build设置并删除任何资源规则。

从build设置中删除任何资源规则后,请在按住 option 键的同时从“项目”菜单中选择“清理”命令来清理项目。这将删除以前版本中的所有中间文件。之后您应该能够成功构建您的项目。

问题是我从未使用过资源规则。

最佳答案

正如我在这里分享的那样https://stackoverflow.com/a/35921044/95397 :

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.

I did a write-up of the issue on our app’s repo: https://github.com/artsy/eigen/issues/1246

关于ios - Swift Binary 被拒绝,我无法重现崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34828744/

相关文章:

ios - searchBarSearchButtonClicked 不工作

IOS/objective-c : Issue with "real time" save into coreData

ios - 如何每 10 秒使用 CLLocationManager 获取位置?

iOS 为 iPhone 4 和 5 制作通用应用程序

iphone - 分页轮播项目

ios - 如何从 DynamoDB 表中删除项目? ( swift )

objective-c - 将 NSString 转换为字符数组

iphone - 对 UITextView 应用字数限制

ios - 如何用其他方法识别通过蓝牙扫描的设备

ios - 如何在每次运行应用程序时更改 NSUserDefault 的默认返回值而不保存它