Summary: Move SampleSwift project to xplat Reviewed By: passy Differential Revision: D8989867 fbshipit-source-id: cfda775ec3919d5c689aaf6846a870a2653c47a6
23 lines
716 B
Ruby
23 lines
716 B
Ruby
project 'SampleSwift.xcodeproj'
|
|
source 'https://github.com/facebook/Sonar.git'
|
|
source 'https://github.com/CocoaPods/Specs'
|
|
swift_version = "4.1"
|
|
|
|
target 'SampleSwift' do
|
|
pod 'SonarKit', '~> 0.6'
|
|
# Layout and network plugins are not yet supported for swift projects
|
|
# pod 'SonarKit/SonarKitLayoutComponentKitSupport', '~> 0.0.2'
|
|
# pod 'SonarKit/SKIOSNetworkPlugin', '~> 0.0.2'
|
|
|
|
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
|