Move SampleSwift project to xplat
Summary: Move SampleSwift project to xplat Reviewed By: passy Differential Revision: D8989867 fbshipit-source-id: cfda775ec3919d5c689aaf6846a870a2653c47a6
This commit is contained in:
committed by
Facebook Github Bot
parent
77fb96244d
commit
6c78895b2a
22
iOS/SampleSwift/Podfile
Normal file
22
iOS/SampleSwift/Podfile
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
||||
Reference in New Issue
Block a user