Skip to content

Commit

Permalink
updated podfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mansi-square committed May 27, 2024
1 parent 27fac51 commit f55b25a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
3 changes: 1 addition & 2 deletions react-native-in-app-payments-quickstart/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ module.exports = {
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
moduleDirectory: ['node_modules', './'],
extensions: ['.js', '.jsx', '.ts', '.tsx']
},
},
},
Expand Down
16 changes: 8 additions & 8 deletions react-native-in-app-payments-quickstart/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ target 'RNInAppPaymentsQuickstart' do
react_native_post_install(installer)

# Apple Silicon builds require a library path tweak for Swift library discovery or "symbol not found" for swift things
# installer.aggregate_targets.each do |aggregate_target|
# aggregate_target.user_project.native_targets.each do |target|
# target.build_configurations.each do |config|
# config.build_settings['LIBRARY_SEARCH_PATHS'] = ['$(SDKROOT)/usr/lib/swift', '$(inherited)']
# end
# end
# aggregate_target.user_project.save
# end
installer.aggregate_targets.each do |aggregate_target|
aggregate_target.user_project.native_targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['LIBRARY_SEARCH_PATHS'] = ['$(SDKROOT)/usr/lib/swift', '$(inherited)']
end
end
aggregate_target.user_project.save
end
# Flipper requires a crude patch to bump up iOS deployment target, or "error: thread-local storage is not supported for the current target"
# I'm not aware of any other way to fix this one other than bumping iOS deployment target to match react-native (iOS 11 now)
installer.pods_project.targets.each do |target|
Expand Down
2 changes: 1 addition & 1 deletion react-native-in-app-payments-quickstart/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,6 @@ SPEC CHECKSUMS:
SquareInAppPaymentsSDK: 4d7f1e984fee5d8d7dbd44a67661ca1aedee7f76
Yoga: d02ee88821190d82b2daa5cd15640a82ffafaaab

PODFILE CHECKSUM: e319ff613cc5c2727089254c443ae5811d92efe3
PODFILE CHECKSUM: 8e50b50321948545185a17fca0b0c0ce3a4f1cae

COCOAPODS: 1.11.3
6 changes: 3 additions & 3 deletions react-native-in-app-payments-quickstart/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2675,9 +2675,9 @@ camelcase@^6.2.0:
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==

caniuse-lite@^1.0.30001587:
version "1.0.30001622"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001622.tgz#a059cfe9126fc0c5283f2850a0d2df7f7d6626e5"
integrity sha512-H+g7cwL2r1TzN4HpM1ZzhaOf7zwMNAZomX/uao6flMFsT3sLIpxi9H3QMo7U0KPWr0a8/Zvl8sQgrr6RXJ0HRw==
version "1.0.30001623"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001623.tgz#e982099dcb229bb6ab35f5aebe2f8d79ccf6e8a8"
integrity sha512-X/XhAVKlpIxWPpgRTnlgZssJrF0m6YtRA0QDWgsBNT12uZM6LPRydR7ip405Y3t1LamD8cP2TZFEDZFBf5ApcA==

chalk@^2.4.2:
version "2.4.2"
Expand Down

0 comments on commit f55b25a

Please sign in to comment.