【问题标题】:App built with Xcode 4.2 ios 5.0 crashing when installed on iphone with ios 4.3.5使用 Xcode 4.2 ios 5.0 构建的应用程序在使用 ios 4.3.5 安装在 iphone 上时崩溃
【发布时间】:2011-12-24 21:11:51
【问题描述】:

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

上周运行良好,现在我可以确认 2 个使用旧版 ios 的人无法在试飞中启动该应用。

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

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。

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

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

【问题讨论】:

    标签: iphone ios4 ios5 xcode4.2


    【解决方案1】:

    解决办法,

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

    我在这里找到了解决方案

    Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK?

    作者:莫里斯

    我必须做他清楚解释的事情,还有一件事:
    将项目和目标构建集中的编译器设置为LLVM GCC 4.2
    这让应用程序在我的旧 ipod touch 和 4.x 的 iphone 上运行。

    不确定这些设置与上周相比有何变化,但我不会考虑。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-10-30
      • 2011-12-08
      • 2012-01-09
      • 1970-01-01
      • 1970-01-01
      • 2014-07-01
      • 2011-04-20
      • 2012-02-13
      相关资源
      最近更新 更多