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

[iOS] Cannot publish IPA: YourApp/_applibs/*/*.so binary file is not permitted. #1822

Open
cederom opened this issue May 28, 2024 · 3 comments
Labels
needs-investigation More investigation needed target-ios

Comments

@cederom
Copy link
Contributor

cederom commented May 28, 2024

Versions

  • Python: 3.11.9.
  • OS: macOS 14/5.
  • Buildozer: 1.5.0.
  • kivy-ios: v2024.03.17 and master.
  • ios-deploy: 1.12.2 and master.
  • XCode: 15.4.

Description

  • Buildozer works fine to create xcodeproj (buildozer ios release; buildozer ios xcode). Yes buildozer ios release fails to create IPA, not a problem here.
  • XCode can build the application that runs fine on a physical mobile phone (yes there are reported problems that simulator use is broken not a problem here).
  • When setting target to "Any iOS Device (arm64)" then Product / Archive it creates the archive.
  • Then Archive cannot be published nor verified before publishing to AppStore with lots of errors that YourApp/_applibs/* contains *.so binary files that are not permitted.

Does anyone experience similar problem?

@misl6
Copy link
Member

misl6 commented May 29, 2024

  • Is _applibs a folder in your project folder?

  • Does it contains things which are supposed to be in the final artifact?

    • If yes, AppStore does not allow .so files in your final artifact, so you should exclude these files, and change your logic (maybe move these dynamic loadable libraries in an Umbrella Framework).
    • If no, but you want to keep it there (e.g. for the Android version), just exclude it via the rsync script located in XCode>Build Phases>Run Script
    • If no, and should not be there, just delete the offending files or folder.

    (Please consider writing a guide 😅)

Copy link

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have the means to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@cederom
Copy link
Contributor Author

cederom commented Jul 12, 2024

Hmm this is not completed. For some reason so files are created during build and that prevents publishing the IPA. Files should not be there and build script creates them even if deleted manually.

@github-actions github-actions bot reopened this Jul 12, 2024
@kuzeyron kuzeyron added target-ios needs-investigation More investigation needed labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-investigation More investigation needed target-ios
Projects
None yet
Development

No branches or pull requests

3 participants