Skip to content

[Bug]: Asset validation failed (50) The app references non-public selectors in Payload/Runner.app/Frameworks/OneSignalFramework.framework/OneSignalFramework: setSharedInstance #1370

Description

@Eddayy

What happened?

When I upload my app to apple connect, apple will reject the ipa and says the app has non public selectors. I'm also using flutter and fastlane to upload to app store, i've also post this in the flutter repo but i think here is relevant since it's a bug on the native code?

Steps to reproduce?

1. Install `onesignal_flutter: ^5.1.0`
2. Follow setup guide
3. Build IPA
4. Upload to Apple connect

What did you expect to happen?

For the ipa to uploade successfully

OneSignal iOS SDK version

5.1.0

iOS version

15

Specific iOS version

No response

Relevant log output

[!] Error uploading ipa file: 
 [Application Loader Error Output]: ERROR: [ContentDelivery.Uploader] Asset validation failed (50) The app references non-public selectors in Payload/Runner.app/Frameworks/OneSignalFramework.framework/OneSignalFramework: setSharedInstance: (ID: 4b3297b1-4a68-4ade-aa94-b1cc19f3b90d)
[Application Loader Error Output]: Error uploading '/var/folders/bf/fz1p4pms3k5bjl9x1sqvzf880000gp/T/ed36fbfb-4a1e-481c-86ae-dfa20e10ed76.ipa'.
[Application Loader Error Output]: Asset validation failed The app references non-public selectors in Payload/Runner.app/Frameworks/OneSignalFramework.framework/OneSignalFramework: setSharedInstance: (ID: 4b3297b1-4a68-4ade-aa94-b1cc19f3b90d) (50)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions