1

我正在尝试在我的应用程序中使用 AVRoutePickerView 但是当我构建项目时出现链接错误:

Undefined symbols for architecture arm64:
"_OBJC_METACLASS_$_AVRoutePickerView", referenced from:
  _OBJC_METACLASS_$_PttVolumeView in PttVolumeView.o
"_OBJC_CLASS_$_AVRoutePickerView", referenced from:
  objc-class-ref in SettingsVolumeCell.o
  _OBJC_CLASS_$_PttVolumeView in PttVolumeView.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

这是 AVKit 库。我不明白为什么我会得到它?有人可以帮忙吗?

提前致谢和问候

4

1 回答 1

1

我终于找到了解决方案,只需在项目设置中将 AVKit 框架添加到 Embedded 和 Linked 库

于 2017-10-13T12:40:38.597 回答