首页 > 代码库 > swift pod 第三方库异常的处理
swift pod 第三方库异常的处理
Xcode8—Swift开发使用Cocoapods引入第三方库异常处理方法
参考: http://www.jianshu.com/p/23f13be525a0
//podfile文件如下
<style>p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Menlo; min-height: 21.0px } p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Menlo } p.p3 { margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Menlo; color: #0435ff } p.p4 { margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Menlo; color: #c32275 } span.s1 { } span.s2 { color: #0435ff } span.s3 { color: #000000 } span.s4 { color: #c32275 }</style>
platform :ios, ‘10.0‘
use_frameworks!
target ‘testSWift‘ do
pod ‘Alamofire‘, ‘~> 4.4.0‘
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings[‘SWIFT_VERSION‘] = ‘3.0‘
end
end
end
swift pod 第三方库异常的处理
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。