【发布时间】:2017-08-31 08:41:45
【问题描述】:
我正在尝试为 Jsip 'VialerSIPLib' 安装一个 Objective-c Wrapper 并在我的 swift 项目中使用它,这是我的 pod
platform :ios, ’10.0’
use_frameworks!
target 'EMedicalAdmin' do
pod 'ObjectMapper', '~> 2.1'
pod 'Alamofire', '~> 4.3'
pod 'SwiftyAvatar', '~> 1.0'
pod 'AlamofireImage', '~> 3.1'
pod 'Eureka', '~> 2.0.0-beta.1'
pod 'JSQMessagesViewController', :git => 'https://github.com/jessesquires/JSQMessagesViewController.git', :branch => 'develop'
pod 'PKHUD', '~> 4.0'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'ImageSlideshow', '~> 1.1.0'
pod 'SwiftyJSON'
pod "FlexibleSteppedProgressBar"
pod 'BTNavigationDropdownMenu', :git => 'https://github.com/PhamBaTho/BTNavigationDropdownMenu.git', :branch => 'swift-3.0'
pod 'VialerSIPLib'
end
但安装时出现此错误:-
target 具有包含静态二进制文件的传递依赖项:
如果我删除了
使用框架!
从我的 podfile 中它可以工作,但我所有其他基于 swift 的 pod 都不能工作
所以,我只能使用这个 pod (VialerSIPLib) 或使用除它之外的所有其他 pod
【问题讨论】:
-
the documentation for this pod 表示这取决于
Vialer-pjsip-iOS、CocoaLumberjack和Reachability。当您将这三个 pod 添加到您的 Podfile 时,情况会变得更好吗? -
@MichaelDautermann 当我安装“VialerSIBLib”时,它们已经自动安装了
标签: ios swift swift3 cocoapods pjsip