[iOS] Cannot publish IPA: YourApp/_applibs/*/*.so binary file is not permitted.
Versions
- Python:
3.11.9. - OS:
macOS 14/5. - Buildozer:
1.5.0. - kivy-ios:
v2024.03.17andmaster. - ios-deploy:
1.12.2andmaster. - XCode:
15.4.
Description
- Buildozer works fine to create xcodeproj (
buildozer ios release; buildozer ios xcode). Yesbuildozer ios releasefails 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*.sobinary files that are not permitted.
Does anyone experience similar problem?
-
Is
_applibsa folder in your project folder? -
Does it contains things which are supposed to be in the final artifact?
- If yes, AppStore does not allow
.sofiles 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
rsyncscript located inXCode>Build Phases>Run Script - If no, and should not be there, just delete the offending files or folder.
(Please consider writing a guide 😅)
- If yes, AppStore does not allow
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.
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.