Skip to content

Commit

Permalink
disable USE_FRAMEWORKS for Flipper support
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyImChris committed Jan 13, 2022
1 parent 0a39af3 commit c09b6c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion local-cli/generator-macos/templates/macos/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ target 'HelloWorld-iOS' do
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
# use_flipper!
use_flipper!
post_install do |installer|
flipper_post_install(installer)
end
Expand Down
3 changes: 2 additions & 1 deletion packages/rn-tester/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ platform :ios, '11.0'
# FIXME: https://github.com/microsoft/react-native/issues/210
install! 'cocoapods', :deterministic_uuids => false

USE_FRAMEWORKS = ENV['USE_FRAMEWORKS'] == '1'
# USE_FRAMEWORKS = ENV['USE_FRAMEWORKS'] == '1'
USE_FRAMEWORKS = 0 # USE_FRAMEWORKS is not compatible with Flipper

if USE_FRAMEWORKS
puts "Installing pods with use_frameworks!"
Expand Down
2 changes: 1 addition & 1 deletion template/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ target 'HelloWorld' do
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
# use_flipper!()
use_flipper!()

post_install do |installer|
react_native_post_install(installer)
Expand Down

0 comments on commit c09b6c5

Please sign in to comment.