-
Notifications
You must be signed in to change notification settings - Fork 242
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
Kivy-ios and Xcode 15 build error Command PhaseScriptExecution failed with a nonzero exit code #926
Comments
You need to provide a build log so we can see where is the problem, at what build stage, what was the command, and why it failed :-) I also encounter buildozer build fail at the last stage IPA creation (after signing). Just got into that. XCode 15 changed a lot of stuff, maybe shell tools also changed syntax. Will report a new issue when I know whats going on exactly :-) |
facing the same issue for already existing application with Xcode 15+ on M2.
|
Is the |
@misl6 thank you for the answer. I have tried to delete the |
@misl6 Excluded all dist and build files from the build and not it is working fine. Thanks |
@DanyloRomanov can you explain how you excluded them from dist and build? I am experiencing the same issue but couldn't find where to do it |
Instructions how to exclude from copilot: To exclude directories like dist and build from your Xcode build, you can use the EXCLUDED_SOURCE_FILE_NAMES build setting. Here’s how you can do it: Open your Xcode project. Select your project in the Project Navigator. Go to the Build Settings tab. Click the + button at the bottom of the screen and select Add User-Defined Setting. Name the new setting EXCLUDED_SOURCE_FILE_NAMES. Expand the EXCLUDED_SOURCE_FILE_NAMES setting by clicking the arrow next to it. In the Release configuration for this variable, add dist and build (separated by spaces). This will ensure that the specified directories are excluded from the build process. |
I am able to create an android app with no problems using buildozer, but can not for the life of me create a working iOS app. I even invested in a Mac M1 mini that put me back a lot of money, Whatever back to the issue, I followed the documentation to use kivy-ios with toolchain. Furthermore, I was able to make an Xcode project without errors, unlike buildozer which would give me Command failed: ['/Users/richard/Documents/Python/.venv/bin/python3', 'toolchain.py', 'build', 'python3', 'kivy']
. Once I loaded the project I made with toolchain create HelloWorld ~/Documents/Python/HelloWorld it gives me with the build error after compiling main,py in Xcode 15 an
Showing Recent Issues
Command PhaseScriptExecution failed with a nonzero exit code
Never get further, and it's just the HelloWorld kivy program, nothing complicated.
Versions
Any help would be greatly appreciated, need a working iOS app for a client who is very anxious,
Tried toolchain create HelloWorld
Open Xcode file and build it in Xcode to run the app to test.
Tried it also with buildozer ios debug to get an app in the bin file.
-->
The text was updated successfully, but these errors were encountered: