GetStream / swift-activity-feed

Stream Swift iOS Activity Feed Components
https://getstream.io/
BSD 3-Clause "New" or "Revised" License
30 stars 17 forks source link

Private Framework in 2.2.4 - Upload to App Store Connect Rejection #18

Open slovaka opened 2 years ago

slovaka commented 2 years ago

When I attempt to upload to app store connect I get this error:

Dear Developer,

We identified one or more issues with a recent delivery for your app, "Test" 1.0 (21). Please correct the following issues, then upload again.

ITMS-90338: Non-public API usage - The app references non-public selectors in Test: didEnterBackground, didLongPress:, didPan:, didTap, didTouchUpInside, removeAll, resetState, sendMessage, textDidChange. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/

When I do a search for this: didEnterBackground

It shows up in the results of the dependency "Nuke" in the version that the activity feed uses. ImageCache.swift: center.addObserver(self, selector: #selector(didEnterBackground), name: UIApplication.didEnterBackgroundNotification, object: nil)

This appears to be a private framework that Apple is now detecting and rejecting.

Being able to successfully upload a binary to app store connect is not possible.

You should be able to recreate the issue by signing, building and uploading your get stream activity feed to app store connect. The error gets sent by apple to the developer's email address from app store connect.

Thanks, Andrew