Kivy-iOS toolchain wont run 'Permission Denied'

时光毁灭记忆、已成空白 提交于 2020-06-17 15:53:29

问题


Im trying to convert a kivy app to run on iOS and have followed the information on the kivy site. However, once everything is downloaded the first step is to compile the toolchain process, which I cant do. So the command

./toolchain.py openssl kivy

returns

 ./toolchain.py: Permission denied

No other messages so a bit difficult to troubleshoot. I found this post. That suggestion hasn't been accepted or marked as correct, but I tried anyway and changing permissions doesn't fix the problem. I have tried

chmod a+x toolchain.py
sudo chmod 755 ./toolchain.py
sudo chmod 755 ./toolchain.py

All of which change the permissions as expected but trying to run toolchain now gives me

from: can't read /var/mail/kivy_ios.toolchain
./toolchain.py: line 4: syntax error: unexpected end of file

So changing permission doesn't seem to work either and I'm now out of ideas??? Also for info I'm running kivy in a venv on Catalina


回答1:


So - it turns out after updating XCode you have to reselect the command line tools. Then it all works fine.



来源:https://stackoverflow.com/questions/61655445/kivy-ios-toolchain-wont-run-permission-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!