Skip to content

Commit 81bbd4a

Browse files
Merge pull request #733 from albertopeam/feature/example-remove-pods-warnings
Example project remove pod install warnings
2 parents 434b4cf + c3c4a3a commit 81bbd4a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

Example/myWeb3Wallet/Podfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment the next line to define a global platform for your project
2-
# platform :ios, '9.0'
2+
platform :ios, '15.0'
33

44
target 'myWeb3Wallet' do
55
# Comment the next line if you don't want to use dynamic frameworks
@@ -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

Example/myWeb3Wallet/myWeb3Wallet.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@
754754
isa = XCBuildConfiguration;
755755
baseConfigurationReference = D6018FABA256C0117F85A829 /* Pods-myWeb3Wallet-myWeb3WalletUITests.debug.xcconfig */;
756756
buildSettings = {
757-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
757+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
758758
CODE_SIGN_STYLE = Automatic;
759759
CURRENT_PROJECT_VERSION = 1;
760760
DEVELOPMENT_TEAM = VPS9LBWQ55;
@@ -778,7 +778,7 @@
778778
isa = XCBuildConfiguration;
779779
baseConfigurationReference = 7574A738941D92CC94F93A9E /* Pods-myWeb3Wallet-myWeb3WalletUITests.release.xcconfig */;
780780
buildSettings = {
781-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
781+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
782782
CODE_SIGN_STYLE = Automatic;
783783
CURRENT_PROJECT_VERSION = 1;
784784
DEVELOPMENT_TEAM = VPS9LBWQ55;

0 commit comments

Comments
 (0)