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
Unable to distribute to App Store Connect, Invalid bundle #82
Comments
Hello! It doesn't seem like we have quite enough information to send this to a human yet to help out. We would love if you could provide more details about your issue by following the template without modifying any of the pre-filled text. If you're looking for support, head over to our Community. |
hi @melih-veloxia! Thanks for reporting! Sorry about the bot, the ticket is fine. |
I can confirm that with Unity I'm a curious, though, about the setup that led to the .framework being there. Cocoapods doesn't actually create a You can even see this in the project's build phases. I believe you're correct in the problem being a change in Unity. I don't think that it's entirely related to our SDK, although I'm still investigating and not discarding the possibility. I'll report back when I know more. Thanks again for reporting! |
@aboedo Thanks for your quick reply. Just like I said, we use bunch of other SDKs with cocoapods through EDM4U and without RevenueCat, there isn't any problem. |
@melih-veloxia that's good to know. Could you provide a couple of examples of the SDKs that you have through cocoapods that do work with no problem, so I can try to see what they're doing differently? |
|
Thanks!! I'll take a look |
@melih-veloxia I made a PR for the fix, #84. It'll make it into a release soon. In the meantime, you can also solve this for your project by clicking on the target in the Xcode project, then looking for I tried it in the same app that I used to reproduce the issue and the issue was gone. Hope this helps!! Thanks again for reporting and for being so responsive! |
Hey @aboedo! Thanks, will give it a try with the pull request and let you know! Thanks for the quick solution. |
I merged your 2 pull requests into our project and it works with the CI/CD pipeline! Closing the issue right now, thanks for your cooperation. |
Thanks for the confirmation @melih-veloxia!!! I'll be making an official release with both PRs today. Let us know if you run into any more issues! |
Starting from 2020x, Unity introduced a new standard for Unity's iOS builds wherein plugins and files are contained within UnityFramework.framework (which is where I see RevenueCat’s generated code and other files). That's why when we try to upload our binary with RevenueCat to Apple Store Connect through Xcode, we get the error: ERROR ITMS-90206: "Invalid Bundle. The bundle at 'APPNAME.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'.". Before installing RevenueCat, there wasn't any problem.
Environment
Debug logs that reproduce the issue
None
Steps to reproduce, with a description of expected vs. actual behavior
Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
As a workaround, one may follow the steps below:
cd "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Frameworks/UnityFramework.framework/" if [[ -d "Frameworks" ]]; then rm -fr Frameworks fi
Additional context
These additional steps prevent us to use our CI/CD pipeline, that’s why an immediate fix is required.
References:
https://developer.apple.com/forums/thread/654980
https://support.wikitude.com/support/discussions/topics/5000096581
The text was updated successfully, but these errors were encountered: