Build error: is only available in iOS 13.0 or newer

I have build issues on my capacitor ionic app. It is very strange. Yesterday was ok. Today build fails.

I have several errors similar to:

StripeCore/StripeCore/StripeCore/Source/Helpers/URLSession+Retry.swift:29:36 ‘schedule(after:_:)’ is only available in iOS 13.0 or newer

Help me please

You need to provide more details.

  • What version of the Stripe SDK are you running
  • What version of XCode
  • What version of Capacitor

Try these troubleshooting steps - iOS Troubleshooting Guide | Capacitor Documentation

Solved recreate ios folder. Thanks

1 Like