2

I am trying to migrate to swift 3.

  1. I have already updated the podfile with the latest version of libraries written in swift 3.
  2. I have updated the cocoapods as for Alamofire as mentioned here.
  3. I have run pod install and pod update
  4. I have cleaned the build folder and also performed project clean.

Still I keep getting Dependency Analysis Error for Alamofire. Also I keep getting the pod frameworks in the targets to convert even when I have already updated the pods.

enter image description here

Note that I have already converted my source code successfully into swift 3. enter image description here

Community
  • 1
  • 1
vishalaksh
  • 2,054
  • 5
  • 27
  • 45

2 Answers2

1

In Build settings > add SWIFT_VERSION and set to YES

enter image description here

user1046037
  • 16,755
  • 12
  • 92
  • 138
1

In Build Settings, set Use Legacy Swift Language Version to No if you use swift3 in xcode8

Binglin
  • 74
  • 5