Skip to content

Commit 3a4d9b9

Browse files
committed
added post install script to avoid pod warnings with deployment target
1 parent db3e5c6 commit 3a4d9b9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Example/myWeb3Wallet/Podfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,12 @@ pod 'web3swift', :git => 'https://github.com/veerChauhan/web3swift.git', :branch
1919
end
2020

2121
end
22+
23+
# set iOS deployment target for every pod to avoid warnings
24+
post_install do |installer|
25+
installer.pods_project.targets.each do |target|
26+
target.build_configurations.each do |config|
27+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
28+
end
29+
end
30+
end

0 commit comments

Comments
 (0)