The Apple code scanner is buggy. I had an app rejected for an alleged call to an internal API that the app does not actually call. I had to appeal to the app review board, who approved my build, but it delayed a critical bug fix.
Friends have seen the same problem, with different bogus API violations reported.
Friends have seen the same problem, with different bogus API violations reported.