Skip to content

Instantly share code, notes, and snippets.

@speaktoalvin
Last active February 18, 2017 16:06
Show Gist options
  • Save speaktoalvin/f4326bbdb6500f6d5c0a7a260862e23c to your computer and use it in GitHub Desktop.
Save speaktoalvin/f4326bbdb6500f6d5c0a7a260862e23c to your computer and use it in GitHub Desktop.
Creating a framework with Realm as dependency
use_frameworks!
target 'MyFramework_Tests' do
pod 'MyFramework', :path => '../'
pod 'RealmSwift'
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment