Xcode8—Swift开发使用Cocoapods引入第三方库异常处理方法 参考: http://www.jianshu.com/p/23f13be525a0 //podfile文件如下 platform :ios, '10.0' use_frameworks! target 'testSWift' do pod 'Alamofire', '~> 4.4.0' end post_install do |installer| installer.pods_project.targets.each…
#HTTPpod 'Alamofire' #Elegant HTTP Networking in Swiftpod 'SwiftHTTP' #Thin wrapper around NSURLSession in swift. Simplifies HTTP requests. #JSONpod 'SwiftyJSON' #The better way to deal with JSON data in Swiftpod 'Argo' #Functional JSON parsing libra…
我的swift的项目用的是swift 2.3的版本,但是用CocoaPods迁入一个第三方:ObjectMapper后,编译会出现这样一个问题: Use Legacy Swift Language Version" (SWIFT_VERSION) is required to be configured correctly for target... 如图: 这里ObjectMapper库报错,原因打开工程会Xcode会提示你覆盖到最新的版本. 但是即使我按照要求[Edit - Convert…