Last active
February 18, 2017 15:40
-
-
Save speaktoalvin/b382965df76d123bd1dd13cee980fb44 to your computer and use it in GitHub Desktop.
Creating a framework with Realm as a dependency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_frameworks! | |
def shared_pods | |
pod 'MyFramework', :git => 'https://github.com/aaalveee/MyFramework.git' | |
end | |
target 'DummyProject' do | |
platform :ios, '10.2' | |
shared_pods | |
end | |
target 'DummyProject Extension' do | |
platform :watchos, '3.1' | |
shared_pods | |
end | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment