我在网上搜索了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,在目标中,它是8.0,所以我为所有这些设置了8.0。
我希望有人可以帮助我,如果你想测试应用程序,可能性能,我可以给你访问权限,因为我的应用程序构建25(最新的)有这个更正是在testFlight上。
答案 0 :(得分:0)
好的我象征着这两行:
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 Library(github)。
在demarrage第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")
我不知道了......