Odd Apple Appstore rejection

I have a new simple app that has been rejected for macOS AppStore.

*### Guideline 2.5.1 - Performance - Software Requirements*

*The app requests access the Apple Music library, but there does not appear to be any features in the app that use this functionality.*

My app does nothing with audio, music, … or anything remotely.
No clue why this happens:

Anything in the .plist? Maybe an entitlement? Are you using AppWrapper and enabled the Music option?

Edit:

I found why. It is this code:

Var c as NSMediaLibraryBrowserControllerMBS
c = NSMediaLibraryBrowserControllerMBS.sharedMediaLibraryBrowserController
c.mediaLibraries = c.NSMediaLibraryImage
c.Visible = True

I did not used c.NSMediaLibraryAudio - c.NSMediaLibraryMovie, so it should not ask for Apple Music Library at all.

Could be a MBS issue.

(post deleted by author)

Please switch to PHPickerViewControllerMBS class, which doesn’t need permissions.