English 中文(简体)
发射场碰撞
原标题:App Release Version crashes Debug Version works, no idea why
  • 时间:2011-09-30 11:44:15
  •  标签:
  • iphone
  • ios

因此,我有这辆Im车在从XCode开始运行之后,在装置上工作,所有东西都进行罚款。 然而,在安装了同一个应用程序后(只有提供情况的变化不相同),在应用程序开始之前不久便发生了故障。

青少年错误:

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

(由于似乎罚款而复制其他胎面)

Here s one more detail, the device where it crashes is an iPod touch running 4.0 The same App (from the App Store) works perfectly on an iPhone4/iPad2 running 4.3.3 I m not sure if the problem is with the device or with the OS and what I can do to fix it.

Like I said before If I run the debug version on the device from XCode it works fine. Any ideas?

最佳回答

一般来说,由于核心数据,我们正在更新储存的新版本,就会出现这种错误。

如果你改变了与核心数据有关的任何东西,那么你需要删除旧的。 Sqlite文档在首次启用新版本。 不要忘记每次都删除......squlite,而只是在申请开始和旧档案存在之后。

问题回答

I forgot about this thread. I eventually found out it had to do with iAD, I was using an instruction available on 4.1 but not 4.0





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签