yasirkula / UnityNativeGallery

A native Unity plugin to interact with Gallery/Photos on Android & iOS (save and/or load images/videos)
MIT License
1.4k stars 199 forks source link

PostProcessBuild script should include NO for Always Embed Swift Standard Libraries #234

Open yosun opened 2 years ago

yosun commented 2 years ago

Description of the bug

When app is archived and uploaded to AppStoreConnect using xcode, generates this error

"contains disallowed file 'Frameworks'. With error code STATE_ERROR.VALIDATION_ERROR.90206"

Set PostProcessBuild script so that Always Embed Swift Standard Libraries is always set to NO.

Reproduction steps

If possible, providing reproduction steps would be very helpful while pinpointing the issue. You can also post screenshots if you think they would be helpful.

Platform specs

Please provide the following info if this is a Unity 3D repository.

yasirkula commented 2 years ago

Are you positive that NativeGallery directly or indirectly causes this issue? NativeGallery has no swift code (100% Objective-C) and I don't understand why this issue wasn't reported before. I'm suspecting that some other plugin is to blame here? Or perhaps some plugins sets Always Embed Swift Standard Libraries to YES which results in this error regardless of NativeGallery's existence?