【发布时间】:2016-04-05 20:29:56
【问题描述】:
我正在尝试将libjingle_peerconnection 框架导入我的Xcode 项目,但由于某种原因,我无法在Swift 源文件中导入带有import RTCICEServer 的Objective-C 标头。我尝试使用头文件等,我做错了什么?
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'VideoRTCTest' do
pod "libjingle_peerconnection"
end
target 'VideoRTCTestTests' do
end
target 'VideoRTCTestUITests' do
end
【问题讨论】:
-
是的,我是。如果有帮助的话,libjingle_peerconnection 就是 Objective-C。
-
我没有;我不得不放下它,现在工作忙得不可开交。我会回到它当我可以。可能会退回到 Objective-C。
标签: ios objective-c swift2 cocoapods libjingle