sudo port install [pkg]
, it complaining:
Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build.The work around is:
- Install Xcode 4.3 from Mac App Store
- Install Command Line Tools for Xcode
- Run the following commands:
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app sudo ln -s `which clang` /Applications/Xcode.app/Contents/Developer/usr/bin/
No comments:
Post a Comment