小编Lea*_*ver的帖子

Phonegap,Cordova - 插件问题

我已经安装了Phonegap(3.0.3)和Cordova CLI.

我也在运行iOS作为平台(确认使用$ cordova platforms ls)

我已经安装了插件($ cordova plugins ls)

org.apache.cordova.core.dialogs
org.apache.cordova.core.vibration
Run Code Online (Sandbox Code Playgroud)

但是,当我运行此控制台命令($ cordova emulate ios)时,我收到以下错误.

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:
      _playBeep in CDVNotification.o
      -[CDVVibration vibrate:] in CDVVibration.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 …
Run Code Online (Sandbox Code Playgroud)

javascript plugins ios cordova

16
推荐指数
2
解决办法
4816
查看次数

标签 统计

cordova ×1

ios ×1

javascript ×1

plugins ×1