buildozer icon indicating copy to clipboard operation
buildozer copied to clipboard

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

Open cederom opened this issue 1 year ago • 3 comments

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?

cederom avatar May 28 '24 01:05 cederom

  • 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 😅)

misl6 avatar May 29 '24 17:05 misl6

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.

github-actions[bot] avatar Jul 11 '24 05:07 github-actions[bot]

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.

cederom avatar Jul 12 '24 13:07 cederom