iosswiftxcodetestflightxcode10.2

Migrating to Xcode 10.2


I have my iOS project which builds successfully in Xcode 10 but when I tried to upload the application on test flight I am not able to upload. It gives an error -

From March 2019 onwards AppStore connect will only accept builds from Xcode 10.1 or later and iOS SDK 12.1 and later

.

So I imported the project in Xcode 10.2. There are many libraries used in the project. As I imported the project in Xcode 10.2 I got errors as the libraries do not support updated Xcode version. So I the updated the pod. Still, I am getting the same error.

Is there any solution to this?

Before updating the libraries, they were supporting Swift 3.

Now I have updated and the current version is 4.2.

I resolved all the errors which came due to update if libraries but I am getting errors in Code due to library update.


Solution

  • You have to run the SDK's (Pods) on the comfortable versions of swift as they supported. So just follow the steps below.

    1. select your pod space.
    2. select the SDK.
    3. Go into build settings.
    4. change the Swift Version. (As pod supported.)

    Do it for all the pod SDK and try to build the project.