Skip to content

Commit

Permalink
fix(ios): Pod install regression caused build failure in xcode (#7880)
Browse files Browse the repository at this point in the history
  • Loading branch information
d4vidi authored May 22, 2024
1 parent 11efb13 commit dde5643
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions playground/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,18 @@ def all_pods
end

post_install do |installer|
react_native_post_install(
installer,
"../../node_modules/react-native",
:mac_catalyst_enabled => false
)
__apply_Xcode_15_3_flipper_post_install_workaround(installer)

react_native_post_install(installer, "../../node_modules/react-native", :mac_catalyst_enabled => false)

__apply_Xcode_15_unary_binary_error_workaround(installer)

# This is to resolve "'shared_timed_mutex' is unavailable: introduced in iOS 10.0" error
installer.pods_project.targets.each do |t|
t.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.4'
end
end
end

def __apply_Xcode_15_3_flipper_post_install_workaround(installer)
Expand Down

0 comments on commit dde5643

Please sign in to comment.