Summary: This diff uses `tag` instead of master branch and also updates the version number to the desktop sdk. Pull Request resolved: https://github.com/facebook/Sonar/pull/152 Reviewed By: danielbuechele Differential Revision: D8820016 Pulled By: priteshrnandgaonkar fbshipit-source-id: ff2e554be55254b77c4e130b35b7299abbafa77d
23 lines
591 B
Ruby
23 lines
591 B
Ruby
project 'Sample.xcodeproj'
|
|
source 'https://github.com/facebook/Sonar.git'
|
|
source 'https://github.com/CocoaPods/Specs'
|
|
# Uncomment the next line to define a global platform for your project
|
|
swift_version = "4.1"
|
|
|
|
|
|
target 'Sample' do
|
|
|
|
pod 'SonarKit', '~>0.6'
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
if ['YogaKit'].include? target.name
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['SWIFT_VERSION'] = swift_version
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
end
|