USER9561
USER9561

Reputation: 1084

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.

Upvotes: 0

Views: 89

Answers (2)

Durai Amuthan.H
Durai Amuthan.H

Reputation: 32280

If all you swift related pods and code is upgraded to Swift 4.2.

Then you can compile that with xcode 10.1/

You can download and install xcode 10.1 from here

you may very well upload using xcode 10.1 as well.

Upvotes: 0

Mohindra Bhati
Mohindra Bhati

Reputation: 156

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.

Upvotes: 1

Related Questions