Skip to content

Commit

Permalink
update react native example to ios 12.4
Browse files Browse the repository at this point in the history
The ios example for react native didn't run on xcode 13.4.
Therefore we use this hack
facebook/react-native#34106 (comment)

This can probably be removed once the react native version is upgraded.
  • Loading branch information
JssDWt committed Aug 4, 2023
1 parent e7f80af commit 8e3f451
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions libs/sdk-react-native/example/ios/Podfile
Expand Up @@ -39,6 +39,14 @@ target 'BreezSDKExample' do
# necessary for Mac Catalyst builds
:mac_catalyst_enabled => false
)
# NOTE: Change IPHONEOS_DEPLOYMENT_TARGET to 12.4.
# This is a hack to support xcode 13.4. Upgrading the react native version
# should also work.
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.4'
end
end
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end
2 changes: 1 addition & 1 deletion libs/sdk-react-native/example/ios/Podfile.lock
Expand Up @@ -606,6 +606,6 @@ SPEC CHECKSUMS:
Yoga: 99caf8d5ab45e9d637ee6e0174ec16fbbb01bcfc
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 9f3871d04be8540089d10530c43e62ccaf18de62
PODFILE CHECKSUM: dde307fb9262c53380a1c0fb4aef45a8e92b5cdb

COCOAPODS: 1.11.3

0 comments on commit 8e3f451

Please sign in to comment.