• Rod Escobar



    I am encountering the same issue and I am hoping that it can be fixed soon. This is the only issue stopping us from moving to iOS/iPadOS 13. We know we could disable treating warning as errors but that is not an option for us.


    The culprit is `ZDKUIUtil`. Hopefully can be fixed sooner rather than later.

    It should be noted that we're currently unable to move to Xcode 13 and we're still using on Xcode 12.5.1

    Best wishes,


  • Patrick McCarron

    Would also love to see these warnings removed, as we like to operate at as few warnings as possible.

    Plus if it's depreciated in iOS 13 that means it'll be removed shortly, possible with iOS 16 betas this June.

  • Mick O'Donnell
    Zendesk Product Manager

    Hi folks, 

    Thank you for raising this. We're going to prioritize work to remove this component from the Support SDK as soon as possible. We don't have a specific release date yet, but this is a priority. I'm not sure how this is blocking a move to Xcode 13 as all deprecated Instance Properties raise warnings in Xcode regardless of the Xcode version, unless I'm missing something here? Please let us know if you are aware of something Xcode 13 related.

  • Stephane Magne

    Mick, to follow up on this, we are also hitting the same `statusBarOrientation` issue.

    The issue arises under these two conditions:

    1. The minimum deployment target is Xcode 13.0 or higher.
    2. The project contains Obj-C code (this one may be incidental).

    Under those conditions, the compiler will throw an error during the SwiftPM build phase and it fails the entire build.

    A fix for this in the Zendesk framework would look something like the following:

    UIInterfaceOrientation orientation;
    if (@available(iOS 13.0, *)) {
    UIWindowScene *windowScene = [[[[UIApplication sharedApplication] windows] firstObject] windowScene]; if (windowScene != nil) {
        orientation = windowScene.interfaceOrientation;
    } else {
           orientation = UIInterfaceOrientationUnknown;

    else {
    orientation = [UIApplication sharedApplication].statusBarOrientation;
  • Manoj Shetty

    This causing the build to fail. Not able to integrate the zendesk sdk and use the product. Can we please know what is the solution fot this


Please sign in to leave a comment.

Powered by Zendesk