【发布时间】:2018-04-14 06:29:02
【问题描述】:
我正在将 AppRTC 集成到我的混合应用程序(离子 3 和角度 4)...
iOS AppRTC 集成:https://github.com/ISBX/apprtc-ios
我已成功安装 pod 并构建项目没有错误,但是当我添加时
[RTCPeerConnectionFactory initializeSSL];
给我的
application:didFinishLaunchingWithOptions:
当我构建项目时,出现以下错误:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_RTCPeerConnectionFactory", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
已经在网上搜索过,但没有找到解决办法……
在链接器库中添加了“${inherited} $(OTHER_LDFLAGS) -ObjC -all_load”,重新启动并清理 xcode,删除了 DerivedData 文件,但问题仍然存在。
【问题讨论】:
标签: ios ionic3 hybrid-mobile-app apprtc