因为新项目使用cocoapod sourcetree同步代码的时候发现我的cocoapod版本低 需要升级和小伙伴一样 早上升级一下遇到一个error ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gem
前面说了在xcode8下的项目,需要兼容2.3版本的语言,同样的,cocoapod维护的包也需要同样的设置 Build Settings -> Swift Compiler - Version -> Use Legacy Swift ->Language Version 然后设置其为 YES 世界瞬间就安静了!!