Cordova 3.4 응용 프로그램을 빌드하는 동안 아키텍처 i386에 대한 정의되지 않은 기호

StackOverflow https://stackoverflow.com//questions/22012394

  •  21-12-2019
  •  | 
  •  

문제

Cordova 응용 프로그램을 구축 할 때 Mac에서 Architecture i386에 대한 Architecture i386에 대한 빌드 오류가 정의되지 않았습니다.나는 Cordova 버전 3.4 및 Xcode 5.0.2를 사용하고 있습니다.

여기에 내 프로젝트의 Xcode 속성 빌드 설정 -> 아키텍처의 스냅 샷이 있습니다. 여기에 이미지 설명을 입력하십시오

Undefined symbols for architecture i386:
  "_AudioServicesAddSystemSoundCompletion", referenced from:
      _playBeep in CDVNotification.o
  "_AudioServicesCreateSystemSoundID", referenced from:
      _playBeep in CDVNotification.o
  "_AudioServicesDisposeSystemSoundID", referenced from:
      _soundCompletionCallback in CDVNotification.o
  "_AudioServicesPlaySystemSound", referenced from:
      -[CDVVibration vibrate:] in CDVVibration.o
      _playBeep in CDVNotification.o
  "_AudioServicesRemoveSystemSoundCompletion", referenced from:
      _soundCompletionCallback in CDVNotification.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **


The following build commands failed:
    Ld build/emulator/barcodeScanner.app/barcodeScanner normal i386
(1 failure)
Error: /Users/dipin/Projects/barcodeScanner/platforms/ios/cordova/build: Command failed with exit code 65
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/src/superspawn.js:112:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Process.ChildProcess._handle.onexit (child_process.js:802:5)
DIPINs-MacBook-Air:barcodeScanner dipinkumarkrishnan$ cordova -v
3.4.0-0.1.0
.

이 오류로 도와주세요.Android Build는 동일한 프로젝트에 대해 잘 작동합니다.

환호!

도움이 되었습니까?

해결책

아마도 AudioToolbox.framework가 누락되었습니다.대상의 빌드 단계에 이것을 추가하고 다시 시도하십시오.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top