1-Cocoapods kurulu değilse Terminali açıp sudo gem install cocoapods Komutunu çalıştırın.
2- Klonladığınız klasör üstünde “Klasörde Yeni Terminal” seçeceğini tıklayın.
3- Açılan terminalde sırasıyla şu komutları çalıştırın
A) pod init
B) open podfile
Bu çalıştığında podfile içine readme de yazan SwiftyJson ve Realm kodlarını ekleyin.
C)pod install komutunu çalıştırın.
CocoaPods
use_frameworks!
target 'YOUR_TARGET_NAME' do pod 'SwiftyJSON' pod 'RealmSwift' end
Replace YOUR_TARGET_NAME and then, in the Podfile directory, type:
$ pod install
Feel free to open an issue or submit a pull request if you have any improvement or feedback.
Eda Barutçu edabarutcu@protonmail.com