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

App Store Connect Operation Error Invalid Bundle Structure - The binary file '*myapp*.app/lib/python3.9/site-packages/google/protobuf/pyext/_message.cpython-39-darwin.so' is not permitted. #702

Closed
faybak opened this issue Apr 26, 2022 · 3 comments

Comments

@faybak
Copy link

faybak commented Apr 26, 2022

-->

Versions

  • Python :3.9
  • MacOS version :12.1
  • XCode Version :13.1
  • Cython version :

Describe the bug
I wanted to distribute my app on apple store, I made the validation process and after that I have this two error

don't understand why because before I used the same python library to distribute another application.

what I did different to before is I try to use firebase push notification with pod but not work so a removed it
I use firebase for my database so I install Pyrebase for the request. Like Pyrebase didn't install well i put the folder from GitHub directly on my source folder et install cloud after that to make it work well. but its not the problem because I already used this configuration on other application
To Reproduce
// REPLACE ME: Add your toolchain.py .... command or a complete explanation of what you did so We can reproduce your error.

Expected behavior
normaly it have to run validation without issue but don't understand why

Logs

App Store Connect Operation Error
Invalid Bundle Structure - The binary file '$myapp$.app/lib/python3.9/site-packages/google/protobuf/pyext/_message.cpython-39-darwin.so' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.

App Store Connect Operation Error
Invalid Bundle Structure - The binary file '$myapp$.app/lib/python3.9/site-packages/google/protobuf/internal/_api_implementation.cpython-39-darwin.so' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.

@akshayaurora
Copy link
Member

Seems like you are including protobuf in your app, I guess you compile protobuf using a local recipe.

I suggest you just include the pure python generated files from protobuf instead of the whole protobuf.

@github-actions
Copy link

👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

If you're having trouble installing or using kivy-ios, maybe you could be interested to installation and requirements.

Let us know if this comment was made in error, and we'll be happy to reopen the issue.

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

No branches or pull requests

5 participants
@akshayaurora @Julian-O @misl6 @faybak and others