ObjectMapperのswift-3
ブランチを使いたかったので色々いじってたらCocoaPodsはブランチを指定できるということを知った。
ので、Podfileにて
pod 'ObjectMapper', :git => 'https://github.com/Hearst-DD/ObjectMapper.git', :commit => '6ba230a'
とかしてあげることで、最新の変更を利用することができました。
(2016/09/23追記:cocoapodsにSwiftのバージョンを伝えてあげる必要がありそうです。Podfileに以下を追加します)
...
target 'hoge-app' do
...
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
end