【问题标题】:Binary refused IOS, crash on launch二进制拒绝 IOS,启动时崩溃
【发布时间】:2016-01-13 03:19:21
【问题描述】:

我在网上和这里搜索了 20 个小时,但我不知道我的应用出了什么问题。 我的应用被 Apple 拒绝了,但我已经用 Test Flight 测试了两个月,版本是 1.0 的 24 版本,而且她在发布时从未崩溃过。 如果此信息很重要,我会在我的应用上使用 Parse SDK。

这是设备管理器 Xcode 中的崩溃日志。

Incident Identifier: E9B53C55-88DB-40E3-8BBA-4F86C503A776
CrashReporter Key:   95bf0295ecd50c3c6eaaa238c040d70cc43eb675
Hardware Model:      xxx
Process:             Honi [430]
Path:   /private/var/mobile/Containers/Bundle/Application/49FA0CC4-FABB-423F-80B3-724615135FC2/Honi.app/Honi
Identifier:          com.alexlb.Honi
Version:             23 (1.0)
Code Type:           ARM-64 (Native)
Parent Process:      launchd [1]

Date/Time:           2016-01-09 09:46:59.59 -0800
Launch Time:         2016-01-09 09:46:52.52 -0800
OS Version:          iOS 9.2 (13C75)
Report Version:      105

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000100049ea4
Triggered by Thread:  0

Filtered syslog:
None found


Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   Honi                            0x0000000100049ea4 0x100020000 + 171684
1   Honi                            0x000000010004811c 0x100020000 + 164124
2   UIKit                           0x00000001869fbe50 -[UIApplication sendAction:to:from:forEvent:] + 100
3   UIKit                           0x00000001869fbdcc -[UIControl sendAction:to:forEvent:] + 80
4   UIKit                           0x00000001869e3a88 -[UIControl _sendActionsForEvents:withEvent:] + 416
5   UIKit                           0x00000001869fb6e4 -[UIControl touchesEnded:withEvent:] + 572
6   UIKit                           0x00000001869fb314 -[UIWindow _sendTouchesForEvent:] + 804
7   UIKit                           0x00000001869f3e30 -[UIWindow sendEvent:] + 784
8   UIKit                           0x00000001869c44cc -[UIApplication sendEvent:] + 248
9   UIKit                           0x00000001869c2794 _UIApplicationHandleEventQueue + 5528
10  CoreFoundation                  0x0000000181c88efc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
11  CoreFoundation                  0x0000000181c88990 __CFRunLoopDoSources0 + 540
12  CoreFoundation                  0x0000000181c86690 __CFRunLoopRun + 724
13  CoreFoundation                  0x0000000181bb5680 CFRunLoopRunSpecific + 384
14  GraphicsServices                0x00000001830c4088 GSEventRunModal + 180
15  UIKit                           0x0000000186a2cd90 UIApplicationMain + 204
16  Honi                            0x000000010007fda4 0x100020000 + 392612
17  libdyld.dylib                   0x00000001817568b8 start + 4

所以,对我来说,这可能是这些原因之一。

原因 1:这是 Apple 的问题。我在网上看到一个人解释说,经过三次拒绝后,Apple 接受了他的应用程序,因为他们的拒绝存在问题。 我希望是这个。

原因 2:我的 applicationdidBecomeActive 有一点同步请求,我删除并移动了她。

原因 3:我的应用中没有测试,所以我在我的项目中删除了 Target 中的 MyAppTest。

原因 4:在我的项目中,部署目标是 8.4,而在 Targets 中,它是 8.0,所以我为所有这些设置了 8.0。

我希望有人可以帮助我,如果你想测试应用程序,也许是为了性能,我可以给你访问权限,因为我的应用程序 build 25(最新)有这个更正是在 testFlight 上。

【问题讨论】:

    标签: ios swift binary app-store-connect


    【解决方案1】:

    好的,我用这两条线表示:

    0   Honi                            0x0000000100049ea4 0x100020000 + 171684
    1   Honi                            0x000000010004811c 0x100020000 + 164124
    

    对于第一个:

    SMSegment.(title.materializeForSet).(closure #1) (in Honi) (SMSegment.swift:61)
    Demarrage.(enregistrement(Demarrage) -> (AnyObject) -> ()).(closure #1).(closure #2) (in Honi) (Demarrage.swift:180)
    

    第二个:

    Yours.(yes(Yours) -> (AnyObject) -> ()).(closure #1) (in Honi) (Yours.swift:433)
    Demarrage.(enregistrement(Demarrage) -> (AnyObject) -> ()).(closure #1).(closure #2) (in Honi) (Demarrage.swift:180)
    

    但我不明白,我使用 SMSegmentView 库(github)。

    在第 180 行,该行是

    let installation = PFInstallation.currentInstallation()
    

    对于 SMSegment 第 61 行:

    self.labelWidth = titleText.boundingRectWithSize(CGSize(width: self.frame.size.width, height: self.frame.size.height), options:NSStringDrawingOptions.UsesLineFragmentOrigin , attributes: [NSFontAttributeName: self.label.font], context: nil).size.width"
    

    为了你的第 433 行:

    post.setObject(self.point[entier], forKey: "point")
    

    我不知道了..

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-31
      • 2018-08-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多