Tag: 崩溃

Xcode 7崩溃: 30000

该应用程序只挂在iOS7,8,9,使30000调用[NSLocalizableString长度] CPU是最大。 另请参阅https://forums.developer.apple.com/thread/16001 (lldb) bt * thread #1: tid = 0x2cb4df, 0x0349065c Foundation`-[NSLocalizableString length] + 6, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0xbf728ffc) * frame #0: 0x0349065c Foundation`-[NSLocalizableString length] + 6 frame #1: 0x03490680 Foundation`-[NSLocalizableString length] + 42 frame #2: 0x03490680 Foundation`-[NSLocalizableString length] + 42 frame #3: 0x03490680 Foundation`-[NSLocalizableString length] + 42 frame […]

testing中的iPhone应用程序在几天后崩溃

我是新来的iPhone应用程序,这是我第一次尝试。 我做了一个简单的应用程序,它有两个button。 一个button打开一个URL,另一个打开一个popup窗口。 我还没有注册成为苹果开发者,而是通过连接到Xcode来testing我的应用程序在物理设备上。 当我安装应用程序时,尽pipe从Xcode断开连接,它仍能正常运行几天。 但是,几天之后,应用程序不会打开并闪烁黑屏,然后返回到主屏幕。 当我重新连接到Xcode并在同一个iPhone上再次运行相同的代码,它再次正常工作了几天,然后再次崩溃。 我无法理解为什么应用程序在几天之后performance得如此,而不是立即。 如果没有作为开发者login,是否有申请到期? (configuration文件即将过期)如果不是,请指导我如何解决这个问题? 请给我尊敬的build议/意见,因为我很困难,需要尽快find一个解决scheme。 非常感谢!

Atos无法从存档应用程序的dSYM中获取符号

我有一个来自BugSense的崩溃报告,所以我有关于崩溃的内存位置的信息,但它们没有符号化。 此外,Bug Sense不会发送传统的崩溃报告,但仍然给我一个错误跟踪。 所以我正在尝试使用Atos来获取我的崩溃的确切位置。 我已经在XCode 4中存档了应用程序,并使用该版本提交给应用程序商店,所以我有一个dSYM文件。 我已经运行下面的代码: atos -arch armv7 -o MyApp.app.dSYM 0x001057e9 但是,而不是得到正确的输出,我收到一个错误: atos cannot load symbols for the file MyApp.app.dSYM for architecture armv7 任何build议,为什么这可能会发生? 我不从应用程序剥离debugging符号。

malloc:***错误:不正确的校验和被释放的对象 – 对象被释放后可能被修改

我的iOS应用程序有一个很大的问题:它有时会崩溃,没有详细的debugging错误。 堆栈跟踪是空的。 这些是堆栈跟踪中唯一的两行: 在UIApplicationMain的“符号存根: – [_ UIHostedTextServiceSession dismissTextServiceAnimated:]”开始崩溃。 并报告“libsystem_c.dylib`malloc_error_break”。 在com.apple.main-thread 。 Xcodedebugging器(连接设备)上的错误: malloc: *** error for object 0x208a7614: incorrect checksum for freed object – object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug 我用libsystem_c.dylib在malloc_error_break中设置了一个断点,没有任何debugging器的反馈。 我不知道要解决这个问题。

如何在iOS中高效地使用图像做animation

我如何做iOS的animation消耗大量内存(或有效),因为我目前面临崩溃的问题? 对于一个单一的animation我有一个100个图像的序列,每个图像大约40kb;像这样大约有7个animation总共近700个图像。 例如,在这里我已经显示了一个2个图像的示例animation。这是我现在做animation的代码。 /*First taking two images into an Array*/ NSArray *imageArray = [NSArray arrayWithObjects:[UIImage imageNamed:@"img1"],[UIImage imageNamed:@"img2"],nil]; /*Creating an image view as a layer for performing the animation */ imgView = [UIImageView alloc]; [imgView initWithFrame:CGRectMake(110,245,100,100)]; /*Setting the images for performing animations*/ imgView.animationImages = imageArray; imgView.animationDuration = 8.5 ;//delay for performing the animation imgView.animationRepeatCount = 1; […]