I want to compile an application developed with Python and the library Kivy for ios devices. I have followed the process explained at this page and created a Xcode project using the command:
toolchain create <title> <app_directory>
I then opened the project using the command:
open touchtracer-ios/touchtracer.xcodeproj
However when trying to launch the app using the play button I have obtained after a few minutes the error Command PhaseScriptExecution failed with a nonzero exit code
.
Here is the complete log of the error:
Showing Recent Messagestools/game_tools/tools/game_tools/__init__.pytools/game_tools/sound.pytools/game_tools/__pycache__/tools/game_tools/__pycache__/__init__.cpython-311.pyctools/game_tools/__pycache__/sound.cpython-311.pyctools/kivads_src/tools/kivads_src/BListener.javatools/kivads_src/FullScreen.javatools/kivads_src/ICallback.javatools/kivads_src/RCallback.javatools/kivads_src/RICallback.javatools/kivy_tools/tools/kivy_tools/__init__.pytools/kivy_tools/image_button.pytools/kivy_tools/image_with_text.kvtools/kivy_tools/image_with_text.pytools/kivy_tools/image_with_text_button.kvtools/kivy_tools/image_with_text_button.pytools/kivy_tools/screen.kvtools/kivy_tools/screen.pytools/kivy_tools/tools_kivy.pytools/kivy_tools/images/tools/kivy_tools/images/defaulttheme.atlastools/kivy_tools/images/defaulttheme.pngsent 2397664951 bytes received 1256148 bytes 15939675.08 bytes/sectotal size is 2394471022 speedup is 1.00rsync warning: some files vanished before they could be transferred (code 24) at /AppleInternal/Library/BuildRoots/0032d1ee-80fd-11ee-8227-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]Command PhaseScriptExecution failed with a nonzero exit code
To solve this problem, I have searched on internet for more info and found this page mentioning a similar issue. I have tried the solution proposing to update CocoaPods and clean the build folder but without any improvements.
I have updated Cocoapods using this command:
sudo gem install cocoapods
My current Xcode version is 15.2 and my CocoaPods version is 1.15.2.
Could you please help me to solve this issue ? I really have no idea about how to fix it.