步驟如下
沒有cocoapods的就用以下的指令安裝,有的就跳過
sudo gem install cocoapods
接下來新開一個專案
用console輸入命令cd到專案的資料夾下
vim 新增一個Podfile
內容如下
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'
pod 'GoogleMaps'
存檔
接下來指令是
pod install
等待安裝完,開啟.workspace的檔案即可
Class has no initializers in swift I have met this situation. Found a solution here It says if you have the code like bellow var se...
沒有留言:
張貼留言