Implement react-native-flipper on iOS (#795)
Summary: Implement the react-native-flipper native module on iOS. Uses very similar abstractions as on Android. ## Changelog [react-native-flipper] Support iOS Pull Request resolved: https://github.com/facebook/flipper/pull/795 Test Plan: Tested using the RN TicTacToe example app {F228406333} Reviewed By: mweststrate Differential Revision: D19853017 Pulled By: priteshrnandgaonkar fbshipit-source-id: d93d35ff984b9ba75f812c4c8e3c82e4d550f0c0
This commit is contained in:
committed by
Facebook Github Bot
parent
72c1c1fa4d
commit
44f5e35675
@@ -6,6 +6,7 @@
|
||||
require "json"
|
||||
|
||||
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
||||
compiler_flags = '-DFB_SONARKIT_ENABLED=1'
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "react-native-flipper"
|
||||
@@ -22,10 +23,8 @@ Pod::Spec.new do |s|
|
||||
s.source = { :git => "https://github.com/github_account/react-native-flipper.git", :tag => "#{s.version}" }
|
||||
|
||||
s.source_files = "ios/**/*.{h,m,swift}"
|
||||
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"${PODS_ROOT}/Headers/Public/FlipperKit\"" }
|
||||
s.requires_arc = true
|
||||
|
||||
s.compiler_flags = compiler_flags
|
||||
s.dependency "React"
|
||||
# ...
|
||||
# s.dependency "..."
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user