Xcode4 xcode 4.0.2的Three20错误

Xcode4 xcode 4.0.2的Three20错误,xcode4,three20,Xcode4,Three20,我得到这个错误: shell脚本调用错误 Env:python:没有这样的文件或目录 运行自定义shell脚本“lint” PhaseScripteExecution Lint/Users/Nasser/Library/Developer/Xcode/DerivedData/abc fgspuusakfyzczfehhbduewymfmp/Build/Intermediates/Three20Core.Build/Debug-iphonesimulator/Three20Core.Build/

我得到这个错误:

shell脚本调用错误 Env:python:没有这样的文件或目录

运行自定义shell脚本“lint”

PhaseScripteExecution Lint/Users/Nasser/Library/Developer/Xcode/DerivedData/abc fgspuusakfyzczfehhbduewymfmp/Build/Intermediates/Three20Core.Build/Debug-iphonesimulator/Three20Core.Build/ 脚本-668E63EA131A42F500ACE4AB.sh

cd/Users/Nasser/Documents/test2/abc/three20/src/Three20Core

/bin/sh-c/Users/Nasser/Library/Developer/Xcode/DerivedData/abc fgspuusakfyzczfehhbduewymfmmp/Build/ 中间产品/Three20Core.build/Debug-iphonesimulator/Three20Core.build/Script-668E63EA131A42F500ACE4AB。 嘘


env:python:没有这样的文件或目录

您需要安装python

最好的方法是使用MacPorts。下载并安装,然后通过在终端中键入以下命令,通过MacPorts安装Python:

sudo port install python26 python_select
sudo python_select python26

我自己想出来的

我在每个Three20项目中将“build phases>lint>shell”中的行更改为:
/usr/bin/env/opt/local/bin/python2.6../scripts/lint

我有一个新的iMAC,python已经安装好了。我在Xcode 4.02上构建Three20时遇到这个错误