Summary: Rename SonarKitLayoutComponentkitsupport Reviewed By: passy Differential Revision: D10029301 fbshipit-source-id: c87717d431ce2603e31bf3c25add40f90eb76609
24 lines
844 B
Ruby
24 lines
844 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 'Flipper', :path => '../../Flipper.podspec'
|
|
pod 'FlipperKit', :path => '../../FlipperKit.podspec'
|
|
pod 'FlipperKit/SKIOSNetworkPlugin', :path => '../../FlipperKit.podspec'
|
|
# Layout and network plugins are not yet supported for swift projects
|
|
#pod 'SonarKit/FlipperKitLayoutComponentKitSupport', :path => '../../SonarKit.podspec'
|
|
|
|
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
|