Xcode5.0如下的版本不支持弱類型 __weak

導入了一個開源庫以後,程序報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以上,程序

相關文章
相關標籤/搜索