You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading Android Studio from 2020.3.1 Canary 6 to Canary 7, the Xcode plugin 'broke' - with IDE Gradle Sync failing on an OkHttp API that is incompatible with Kotlin Companion objects.
Ultimately this appears to be because the version of OkHttp used by the Xcode plugin is too old. I was able to work around this by replacing the dependency with a later OkHttp3 based one (and was lucky enough that the API is still compatible), here:
After upgrading Android Studio from 2020.3.1 Canary 6 to Canary 7, the Xcode plugin 'broke' - with IDE Gradle Sync failing on an OkHttp API that is incompatible with Kotlin Companion objects.
Ultimately this appears to be because the version of OkHttp used by the Xcode plugin is too old. I was able to work around this by replacing the dependency with a later OkHttp3 based one (and was lucky enough that the API is still compatible), here:
In top-level
build.gradle
:This workaround may help similarly affected users.
Suggest the Xcode plugin project updates the dependency.
The text was updated successfully, but these errors were encountered: