Alamofire Xcode 8 Swift 3 results in 786 compile errors

前端 未结 10 2514
一个人的身影
一个人的身影 2020-12-29 20:00

I am using the Xcode 8.0 GM. I created a default single-view app with my deployment target set to 9.0.

In my Podfile I\'m targeting the bleeding edge Swift 3 branch:

10条回答
  •  旧巷少年郎
    2020-12-29 20:35

    I had the same issue, but I uninstalled cocoapods, uninstalled alamofire, then updated my cocoa pods to 1.1.0.beta.2, then used the swift3-rebased branch of Alamofire in my pod file

    pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift3-rebased'

    opened my Project.xcworkspace file and all the compiling errors for Alamofire were gone.

提交回复
热议问题