OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
606 stars 204 forks source link

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

Closed Eddayy closed 4 months ago

Eddayy commented 4 months ago

What happened?

I face this error when I upload to apple connect, appreciate if anyone can point me the right directions.

Steps to reproduce?

1. I've setup fastlane to build and upload
2. Run fastlane ios upload_to_testflight

What did you expect to happen?

Upload to apple successfully

OneSignal Flutter SDK version

5.1.0

Which platform(s) are affected?

Relevant log output

[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: 9441cb37-725b-40d5-8c46-8519f263404a)
[Application Loader Error Output]: Error uploading '/var/folders/bf/fz1p4pms3k5bjl9x1sqvzf880000gp/T/c44724af-60b7-4e7e-9984-2c49a1e2eed8.ipa'.
[Application Loader Error Output]: Asset validation failed The app references non-public selectors in Payload/Runner.app/Frameworks/OneSignalFramework.framework/OneSignalFramework: setSharedInstance: (ID: 9441cb37-725b-40d5-8c46-8519f263404a) (50)
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.

Code of Conduct

emawby commented 4 months ago

@Eddayy Thanks for reaching out. I see that this has been posted on the iOS SDK repo as well. I will close this one since discussion has started in that thread. https://github.com/OneSignal/OneSignal-iOS-SDK/issues/1370