導入了一個開源庫以後,程序報The current deployment target does not support automated __weak references這個,如圖:ios
緣由是這樣:spa
ios5.0如下不支持弱類型,你的target版本確定是5.0如下的;get
解決方法:io
在project->info->ios Deployment Target 將你的target版本改成5.0或者5.0以上,程序