Xcode 14 - The app references non-public selectors in Payload

Hi,

I have submitted my app to TestFlight but I did receive a warning message:

The app references non-public selectors in Payload/AppNAME: dataChanged

I tried to investigate the issue but can't find a solution 🤨

Any idea?

Answered by med009 in 728964022

The problem comes from Apple. my app was approved on the Appstore without any issue.

just updated to xcode 14.2 and am getting the same exact error: The app references non-public selectors in Payload/.... I don't have anything with Core Data. The binary is not uploaded to App Center.

Same here, shows errors, but DOES upload to AppstoreConnect. It's just a warning after all ;)

Still happening in Xcode 14.2

xcode 14.2 unity2019 exported project, still the same issue.

This problem got resolved for me in xcode 14.3

I had this issue trying to upload to TestFlight using Fastlane. My issue was that I had set the build_app configuration to Debug instead of release. I guess Testflight does not allow the debug to be active. Changing it to Release fixed the issue and I could upload it.

Not working:

lane :build_alpha_release do
  match(type: "appstore")
  build_app(
    scheme: "YourScheme",
    export_method: "app-store",
    configuration: "Debug",  # This wont work
  )
end

Working:

lane :build_alpha_release do
  match(type: "appstore")
  build_app(
    scheme: "YourScheme",
    export_method: "app-store",
    configuration: "Release", # This works
  )
end
Xcode 14 - The app references non-public selectors in Payload
 
 
Q