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
616 stars 213 forks source link

[Bug]: IOS : upload version to store #888

Closed osama450 closed 4 months ago

osama450 commented 4 months ago

What happened?

i get this 2 issues when upload version to store :

Asset validation failed (90206) Invalid Bundle. The bundle at 'Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex' contains disallowed file 'Frameworks'. (ID: 53a5c750-38f5-4b2b-ab38-ab2a435d49ed)

Asset validation failed (90205) Invalid Bundle. The bundle at 'Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex' contains disallowed nested bundles. (ID: 0506a1cf-0cb0-4ffb-ba90-0fc8dcdd8362)

Steps to reproduce?

1 : try to upload version from xcode

What did you expect to happen?

.

OneSignal Flutter SDK version

5.1.6

Which platform(s) are affected?

Relevant log output

No response

Code of Conduct

nan-li commented 4 months ago

Hi @osama450, your two error messages look similar to this Apple thread: https://forums.developer.apple.com/forums/thread/17732.

Can you take a look and see if you are able resolve?

If not, you can share your Podfile and what is under the OneSignalNotificationServiceExtension's Frameworks and Libraries section:

Screenshot 2024-05-16 at 10 37 06 PM

osama450 commented 4 months ago

hi @nan-li , I will share with you everything cuz I try all, and no one worked image image

osama450 commented 4 months ago

my podfile : image

osama450 commented 4 months ago

image

osama450 commented 4 months ago

image

emawby commented 4 months ago

@osama450 I believe the issue is that the cocoapods in the Notification Service Extension target have been set to Embed & Sign. Try changing that to Do Not Embed.

osama450 commented 4 months ago

@emawby if i do that he uploads successfully but the service not work

chuanpham commented 3 months ago

Hi @osama450, did you solve the problem, how can you solve it? Thanks!

osama450 commented 3 months ago

hi @chuanpham i fixed it by make the build option like tthat : image image image

chuanpham commented 3 months ago

@osama450 thank you very much