The best way to manage dependencies in your iOS and Mac projects is using CocoaPods.
CocoaPods is a Ruby gem and work like Bundler simple and functional
First step do you need install CocoaPods as a rubygem
$ gem install cocoapods
It's simple, do you only need create a file named Podfile in your project root path like
$ vim Podfile
and add platform info and dependencies in your Podfile
Save & exit, then run pod install command in terminal
$ pod install
Most important, CocoaPods is generated a new xcworkspace file with you project name like, MyProject.xcworkspace, now do you need to use this file to open your project on Xcode.
Can your run
$ open MyProject.xcworkspace