Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validation on upload to store gives "UnityFramework.framework contains disallowed file" #12

Open
marvpaul opened this issue Apr 21, 2024 · 2 comments

Comments

@marvpaul
Copy link

marvpaul commented Apr 21, 2024

Hey there,
i just wondered why I got the above mentioned error after adding adapty to my Unity project when trying to upload an iOS build through xCode. I use Unity 2022.3.21f1 and the latest Adapty SDK from Github.

I found this line project.AddBuildProperty(targetGuid, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "YES"); in the file Assets/AdaptySDK/Plugins/iOS/Editor/AdaptySDKPostProcess.cs

I highly assume this caused the problem. When I set "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES" to "NO" in xCode Build Settings for the Target UnityFramework again, archive and upload the build, it's works. I think it should be changed in your plugin as this otherwise prevents people from uploading their builds to iTunes Connect.

Thank you and best Marvin

@x401om
Copy link
Collaborator

x401om commented Apr 22, 2024

Hi, @marvpaul! Thank you for the issue! Could you please provide your Xcode version so I will try to reproduce this problem on my machine?

@marvpaul
Copy link
Author

marvpaul commented Apr 25, 2024

Hi, @marvpaul! Thank you for the issue! Could you please provide your Xcode version so I will try to reproduce this problem on my machine?

It's 15.0.1

It's this error which is caused by ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=YES.

https://stackoverflow.com/questions/73902406/unityframework-framework-contains-disallowed-file-frameworks-getting-this-err

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants