在为iOS设备构建时出现AudioToolBox问题

时间:2011-04-19 05:38:38

标签: iphone objective-c

我有一些错误.. 当尝试为iphone设备构建时,我收到此错误的警告

ld: warning: ignoring file psydevdocs/IphoneProjects/Qwave/AudioToolbox.framework/AudioToolbox, file was built for unsupported file format which is not the architecture being linked (armv7)
Undefined symbols for architecture armv7:
  "_AudioQueueGetProperty", referenced from:
      -[AudioQueueObject isRunning] in AudioQueueObject.o
  "_AudioQueueStart", referenced from:
      -[AudioSignalAnalyzer record] in AudioSignalAnalyzer.o
      -[AudioSignalGenerator play] in AudioSignalGenerator.o
      -[AudioSignalGenerator resume] in AudioSignalGenerator.o
  "_AudioQueueDispose", referenced from:
      -[AudioSignalAnalyzer dealloc] in AudioSignalAnalyzer.o
      -[AudioSignalGenerator dealloc] in AudioSignalGenerator.o
  "_AudioSessionSetActive", referenced from:
      -[QWaveSJViewController listenBytes:] in QWaveSJViewController.o
  "_AudioQueueStop", referenced from:
      -[AudioSignalAnalyzer stop] in AudioSignalAnalyzer.o
      -[AudioSignalGenerator stop] in AudioSignalGenerator.o
  "_AudioQueueEnqueueBuffer", referenced from:
      _recordingCallback in AudioSignalAnalyzer.o
      -[AudioSignalAnalyzer setupRecording] in AudioSignalAnalyzer.o
      _playbackCallback in AudioSignalGenerator.o
  "_AudioQueueNewInput", referenced from:
      -[AudioSignalAnalyzer init] in AudioSignalAnalyzer.o
  "_AudioQueueSetParameter", referenced from:
      -[AudioSignalGenerator setupPlaybackAudioQueueObject] in AudioSignalGenerator.o
  "_AudioQueuePause", referenced from:
      -[AudioSignalGenerator pause] in AudioSignalGenerator.o
  "_AudioQueueNewOutput", referenced from:
      -[AudioSignalGenerator setupPlaybackAudioQueueObject] in AudioSignalGenerator.o
  "_AudioQueueAllocateBuffer", referenced from:
      -[AudioSignalAnalyzer setupRecording] in AudioSignalAnalyzer.o
      -[AudioSignalGenerator setupAudioQueueBuffers] in AudioSignalGenerator.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

有人知道错误在哪里?感谢

0 个答案:

没有答案