XCUIElementType triggers partial availability warning inside XCTest

Number:rdar://25595684 Date Originated:07-Apr-2016 08:45 AM
Status:Open Resolved:
Product:iOS SDK Product Version:9.3.1
Classification:Other Bug Reproducible:Always
XCUIElementType triggers partial availability warning inside XCTest. 

We use -Wpartial-availability to catch calls that are iOS 9 specific since we still have to support iOS 8. This works well but we needed to update our xcconfig rules for the tests, since Clang flags XCTest itself.

This was a bit annoying. I guess there are already a lot of radars for it and it’s probably to trivial to even need a sample, but just wanted to give you my +1 to please look into that. Thanks :)

But hey, new warnings are always great, so thanks for that! Don’t always just want to complain here. Love the progress.

Screenshot if attachments don’t work: http://cl.ly/0s0R3G3k3y40


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!