Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Fix searching for FlipperClient.h headers in productions builds if PR…
Browse files Browse the repository at this point in the history
…ODUCTION=1 passed
  • Loading branch information
MuhmdRaouf committed Nov 15, 2022
1 parent f70b2a2 commit 5ba399f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Pod::Spec.new do |s|
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
if ENV['PRODUCTION'] == '1'
Pod::UI.puts "#{s.name}: Found PRODUCTION=1, #{s.name} will be disabled for production builds"
else
s.compiler_flags = compiler_flags
end
s.dependency "React-Core"
end

0 comments on commit 5ba399f

Please sign in to comment.