dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /opt/local/bin/git
  Reason: Incompatible library version: git requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

好长时间没有更新cm的代码了.
今天打开更新一下结果就这个提示..
解决方法:
port installed libiconv 
The following ports are currently installed:
  libiconv @1.13.1_0
sudo port activate libiconv @1.13.1_0
--->  Activating libiconv @1.13.1_0
--->  Cleaning libiconv

ok结束.执行repo sync正常更新

参考链接:1