在开发方法中导出IPA时出错

Prabhat Sutar

当我选择IPA分发方法作为开发并尝试导出时,我的所有项目都遇到了相同的错误,并且在任何地方都没有使用python,所以为什么会出现此错误。请帮助我解决此错误。

我正在使用Xcode 9.2

ipatool failed with an exception:#<RuntimeError: Couldn't locate python in /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec /Applications/Xcode.app/Contents/Developer/usr/bin /Applications/Xcode.app/Contents/Developer/usr/local/bin /Applications/Xcode.app/Contents/Developer/Tools /usr/bin /bin /usr/sbin /sbin>
/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:157:in `locate_tool'
/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:137:in `unicode_equal?'
/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1703:in `block in MakeFileSystemNode'
/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1703:in `each'
/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1703:in `detect'

导出进行开发时,Xcode导出错误

Prabhat Sutar

我发现这个问题,这要归功于阿尔珀到指导我在正确的方向,当我们创建或导出IPA Xcode的需要蟒蛇它位于在/ usr / bin中/ Python的路径,在我的情况我已经安装了蟒蛇,但它不是在该位置上,因此我在系统中搜索python可执行文件,然后将该可执行文件复制并粘贴到此/ usr / bin /位置,并且可以正常工作。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章