Rome makes it easy to build a list of frameworks for consumption outside of Xcode, e.g. for a Swift script.
$ gem install cocoapods-rome
Write a simple Podfile like this:
platform :osx, '10.10'
plugin 'cocoapods-rome'
target 'caesar' do
pod 'Alamofire'
end
then run this:
pod install
and you will end up with dynamic frameworks:
$ tree Rome/
Rome/
└── Alamofire.framework