无法读取未知的加载命令0x80000022 [英] unable to read unknown load command 0x80000022
问题描述
在我的应用程序中,我使用了从Apple的SpeakHere示例中复制的大量代码,当我在iPhone设备上运行应用程序时,它会在加载XIB之前将此错误吐出大约一百次:
In my app, I use a very large amount of code that I copied from Apple's SpeakHere example, and when I run the app on an iPhone device it spits out this error about a hundred times before loading the XIB:
unable to read unknown load command 0x80000022
它还会打印这些错误:
warning: Unable to read symbols for ""/Users/eamonford/Desktop/Sleep Blaster touch/build/Debug-iphoneos"/Sleep Blaster touch.app/Sleep Blaster touch" (file not found).
warning: Couldn't raise load state for requested shlib: "Sleep Blaster touch" for breakpoint 1.
但是,当我在模拟器中运行应用程序时,根本没有错误。此外,我知道错误来自我从SpeakHere获得的代码的某些部分,因为Apple自己的示例产生相同的错误,并且我的应用程序在添加SpeakHere代码之前没有产生这些错误。
However, when I run the app in the Simulator there are no errors at all. Also, I know the errors are coming from some part of the code that I got from SpeakHere, because Apple's own example produces the same errors, and my app didn't produce these errors before I added the SpeakHere code.
有没有人知道这些错误的含义或我如何追踪它们?谢谢!
Does anyone have some idea of what these errors mean or how I can trace them? Thanks!
推荐答案
关于第一个警告,这似乎是SDK 3.1中的一个已知问题(我假设你是使用3.1,我从来没有见过这个错误与其他版本)。如果您尝试使用3.0目标进行编译,那么应该解决它。
Regarding the first warning, this appears to be a known issue in SDK 3.1 (I'm assuming you're using 3.1, I'd never seen this error with other versions). If you try compiling with a 3.0 target, that should resolve it.
这篇关于无法读取未知的加载命令0x80000022的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!