[iOS,XCode,Pod] 當Pod instal 發生錯誤
開啟專案時,pod instal 發生錯誤 [!] Automatically assigning platform `iOS` with version `11.0` on target `M2Test` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`. 解決方法∶ 1 打開Podfile 2 移除第二行 #platform:ios, ‘9.0’ 中的# 3 打開終端機重新 pod install [!] Couldn't determine repo type for URL: `https://cdn.cocoapods.org/`: Permission bits for '/Users/D/.netrc' should be 0600, but are 644 解決方法∶ chmod 600 ~/.netrc