-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
64 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,43 @@ | ||
swift_version = "4.1" | ||
flipperkit_version = '0.88.0' | ||
use_frameworks! | ||
|
||
|
||
def flipper_develop_pods | ||
pod 'FlipperKit', '~>' + '0.111.0', :modular_headers => true | ||
# Layout and network plugins are not yet supported for swift projects | ||
pod 'FlipperKit/FlipperKitLayoutComponentKitSupport', '~>' + '0.111.0' | ||
pod 'FlipperKit/SKIOSNetworkPlugin', '~>' + '0.111.0' | ||
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', '~>' + '0.111.0' | ||
|
||
# If you use `use_frameworks!` in your Podfile, | ||
# uncomment the below $static_framework array and also | ||
# the pre_install section. This will cause Flipper and | ||
# it's dependencies to be static and all other pods to | ||
# be dynamic. | ||
$static_framework = ['FlipperKit', 'Flipper', 'Flipper-Folly', | ||
'CocoaAsyncSocket', 'ComponentKit', 'Flipper-DoubleConversion', | ||
'Flipper-Glog', 'Flipper-PeerTalk', 'Flipper-RSocket', 'Yoga', 'YogaKit', | ||
'CocoaLibEvent', 'OpenSSL-Universal', 'Flipper-Boost-iOSX', 'Flipper-Fmt'] | ||
|
||
pre_install do |installer| | ||
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {} | ||
installer.pod_targets.each do |pod| | ||
if $static_framework.include?(pod.name) | ||
def pod.build_type; | ||
Pod::BuildType.static_library | ||
end | ||
end | ||
end | ||
end | ||
end | ||
|
||
|
||
target 'FlipperMockPlugin' do | ||
platform :ios, '10.0' | ||
|
||
pod 'Alamofire', '~> 5.1' | ||
pod 'FlipperKit' | ||
pod 'YogaKit' | ||
flipper_develop_pods | ||
|
||
end | ||
|
||
|
||
|