使用ios 4.3.5安装在iphone上时,使用Xcode 4.2 ios 5.0构建的应用程序崩溃 [英] App built with Xcode 4.2 ios 5.0 crashing when installed on iphone with ios 4.3.5

查看:127
本文介绍了使用ios 4.3.5安装在iphone上时,使用Xcode 4.2 ios 5.0构建的应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个不会在ios 4.x上构建的应用程序

I have an app that will not build anymore on ios 4.x

上周它工作正常,现在我可以确认2个年龄较大的ios'无法在Test Flight上启动应用程序。

Last week it worked fine, and now I can confirm 2 people with older ios' are unable to launch the app on Test Flight.

1人(ios 4.3.x)无法在Xcode中构建应用程序,调试器输出如下

1 person (ios 4.3.x) is unable to build the app anymore in Xcode and the debugger output is as follows

warning: Unable to read symbols from "dyld" (prefix __dyld_) (not yet
mapped into memory).
warning: Unable to read symbols for
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3
(8F190)/Symbols/System/Library/Frameworks/UIKit.framework/UIKit (file
not found).
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
warning: Unable to read symbols from "Foundation" (not yet mapped into memory).
warning: Unable to read symbols for
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3
(8F190)/Symbols/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
(file not found).
warning: Unable to read symbols from "CoreGraphics" (not yet mapped
into memory).
warning: Unable to read symbols from "libSystem.B.dylib" (not yet
mapped into memory).
warning: Unable to read symbols from "libgcc_s.1.dylib" (not yet
mapped into memory).

我无法想象这一点。我一直在开发最新的SDK选项,目标设置为4.0。

I am at a loss to figure this one out. I have been developing with the Latest SDK option and target set to 4.0.

我做的唯一改变(我能想到的)是为所有异常添加一个断点。
我正在删除它,看看是否有所作为,但暂时不会得到反馈。我在这里问的是,如果不是解决方案并且看看是否有人可以减轻我的压力

The only change I made (that I can think of) was adding a breakpoint for all exceptions. I am removing that and seeing if that makes a difference, but won't get feedback for a while. I am asking here in case that is not the solution and to see if someone can ease my stress

编辑
断点没有效果。我认为它不会影响试飞的运行,但我真的希望它能成为解决方案。我将它留在这里,因为它是我如何让调试器在Xcode 4.2中的main.m之前停止,并希望其他人能够设置断点,如果他们不知道如何。

EDIT The breakpoint had no effect. I didn't think it would affect running with test-flight, but I really hoped it would be the solution. I am leaving it up here, because it is how I get the debugger to stop before main.m in Xcode 4.2 and want others to be able to set the breakpoint if they didn't know how.

推荐答案

解决方案,

我改变了焦点并尝试让应用程序在我的旧ipod touch 3.1上运行

I changed focus and tried to get the app to run on my old ipod touch 3.1

我在这里找到了解决方案

I found the solution here

使用Xcode 4.2和iOS 5 SDK时是否可以定位较旧的iOS版本?

by mmorris

by mmorris

我必须做他清楚解释的事情和另外一件事:

将项目和目标构建集中的编译器设置为 LLVM GCC 4.2

这使应用程序在我的旧ipod touch和我的iphone上运行4.x。

I had to do what he clearly explained and 1 more thing:
Set the compiler in the Project and Target Build Set to LLVM GCC 4.2
That got the app running on my old ipod touch and my the iphones with 4.x.

不确定这些设置是如何从上周改变的,但我不会考虑这一点。

Not sure how any of those settings could have changed from last week, but I am not going to think about that.

这篇关于使用ios 4.3.5安装在iphone上时,使用Xcode 4.2 ios 5.0构建的应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆