Chandni
Chandni

Reputation: 690

Swift developed code not working in Xcode 8.x or Xcode 7.x

When I open swift2.3 developed project in Xcode 8.x (8.1,8.2.1,8.3.3)it is showing lots of errors of 3rd party files. I did below actions

  1. I do pod install then update the pod but after that it is showing around 500 errors in 3rd party framework like alamofire.

  2. I tried to configure it in Xcode 7.3 but still not getting error free code and it is showing error in linked 3rd party framework.

  3. I tried without update any pod but it is not showing linked files in project and show so many errors

When I open the project in Xcode 8.x it is asking for conversion. I did convert as it suggest and getting lots of errors.

it is showing 15 when I try to resolve them they will increase in any other file like an infinite loop.

Please suggest me.

Thanks

Upvotes: 2

Views: 71

Answers (1)

user8824091
user8824091

Reputation:

You'll have to fix all this manually.

As stated in this post (https://stackoverflow.com/a/42561709/8824091) you should expect your code to be broken after a Swift version change.

I suggest you to follow the advice of that post (that is, backup your 2.3 version, and carefully do all the conversion, which will be tedious and slow).

Upvotes: 1

Related Questions