skip to Main Content

Xcode – How can I wrap Objective-C code for visionOS only?

I have the following code in Objective-C: if (@available(iOS 13.0, tvOS 13.0, *)) { indicator.indicatorView.activityIndicatorViewStyle = UIActivityIndicatorViewStyleLarge; } else { indicator.indicatorView.activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhiteLarge; } But this is producing an error. 'UIActivityIndicatorViewStyleWhiteLarge' is unavailable: not available on xrOS I think I…

VIEW QUESTION

What do these Xcode warnings mean?

I’m getting the following warnings in Xcode when building my app (app runs just fine however): Could not associate debug note to atom l_OBJC_LABEL_PROTOCOL_$_NSObject Could not associate debug note to atom l_OBJC_PROTOCOL_REFERENCE_$_CAAction Could not associate debug note to atom l_OBJC_LABEL_PROTOCOL_$_CAAnimationDelegate…

VIEW QUESTION
Back To Top
Search