Skip to content

Instantly share code, notes, and snippets.

@pcperini
Created June 9, 2015 22:14
Show Gist options
  • Save pcperini/2d45778400870cc9c1da to your computer and use it in GitHub Desktop.
Save pcperini/2d45778400870cc9c1da to your computer and use it in GitHub Desktop.
inhibit_all_warnings!
#use_frameworks! ## DO NOT USE --> seems to break things?
target 'PROJ' do
platform :ios, '9.0'
pod 'Realm'
end
target 'PROJ WatchKit Extension' do
pod 'Realm'
end
post_install do |installer_representation|
installer_representation.project.targets.each do |target|
if target.name.index("Pods-PROJ WatchKit Extension") == 0
target.build_configurations.each do |config|
config.build_settings['SUPPORTED_PLATFORMS'] = 'watchos watchsimulator'
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment