应用程序发行版崩溃调试版工作,不明白为什么

时间:2011-09-30 11:44:15

标签: iphone ios

所以我有这个应用程序,我正在努力,并在设备上运行应用程序从XCode一切正常。但是,从App Store安装相同的应用程序后(没有更改,只有配置文件不同),应用程序在启动前不久就会崩溃。

控制台错误:

Fri Sep 30 12:48:42 unknown locationd[540] <Notice>: MS:Notice: Installing: (null) [locationd] (550.32)
Fri Sep 30 12:49:47 itess Ola Portugal[556] <Notice>: MS:Notice: Installing: com.mindovertech.olaportugal [Ola Portugal] (550.32)


Fri Sep 30 12:49:47 itess kernel[0] <Debug>: launchd[556] Builtin profile: container (sandbox)


Fri Sep 30 12:49:47 itess kernel[0] <Debug>: launchd[556] Container: /private/var/mobile/Applications/13E9B45C-84ED-4FD3-BDAA-8527BA34CB3F [69] (sandbox)


Fri Sep 30 12:49:47 itess Ola Portugal[556] <Notice>: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Activator.dylib


Fri Sep 30 12:49:47 itess Ola Portugal[556] <Notice>: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/PDFPatch_CVE-2010-1797.dylib


Fri Sep 30 12:49:49 itess locationd[557] <Notice>: MS:Notice: Installing: (null) [locationd] (550.32)


Fri Sep 30 12:49:51 itess Ola Portugal[556] <Warning>: Warning: Libinfo call to mDNSResponder on main thread


Fri Sep 30 12:49:56 itess ReportCrash[559] <Notice>: Formulating crash report for process Ola Portugal[556]


Fri Sep 30 12:49:57 itess com.apple.launchd[1] (UIKitApplication:com.mindovertech.olaportugal[0xeace][556]) <Warning>: (UIKitApplication:com.mindovertech.olaportugal[0xeace]) Job appears to have crashed: Bus error


Fri Sep 30 12:49:57 itess SpringBoard[28] <Warning>: Application 'Olá Portugal' exited abnormally with signal 10: Bus error


Fri Sep 30 12:49:57 itess ReportCrash[559] <Error>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Ola Portugal_2011-09-30-124953_itess.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

设备日志:

Incident Identifier: B2ABCA98-7942-4FF2-968A-F5FE4AFDDE4D
CrashReporter Key:   fd9745556d91de13e834ad1bbd0bee6c29b17976
Hardware Model:      iPod2,1
Process:         Ola Portugal [556]
Path:            /var/mobile/Applications/13E9B45C-84ED-4FD3-BDAA-8527BA34CB3F/Ola Portugal.app/Ola Portugal
Identifier:      Ola Portugal
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2011-09-30 12:49:53.028 +0100
OS Version:      iPhone OS 4.0 (8A293)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00816a00
Crashed Thread:  0

Thread 0 Crashed:
0   ???                             0x00816a00 0 + 8481280

(没有复制其他线程,因为它们看起来很好)

这是另外一个细节,崩溃的设备是运行4.0的iPod touch 相同的应用程序(来自App Store)在运行4.3.3的iPhone4 / iPad2上完美运行 我不确定问题是关于设备还是操作系统以及我可以做些什么来解决它。

就像我之前说过的如果我从XCode在设备上运行调试版本它可以正常工作。 有什么想法吗?

2 个答案:

答案 0 :(得分:0)

通常,当我们因为coredata更新商店上的新版本时会发生这种错误。

如果您更改了与coredata相关的任何内容,则需要在首次启动新版本时删除旧的.Sqlite文件。记住不是每次都删除.squlite但只有在应用程序启动并且存在旧文件时才会删除。

答案 1 :(得分:0)

我忘记了这个帖子。我最终发现它与iAD有关,我使用4.1上的指令而不是4.0