Skip to content

Commit 717d1d5

Browse files
committed
Begin upgrade - upgrade/remove libraries
1 parent 2c1c8ba commit 717d1d5

10 files changed

+2277
-1861
lines changed

ios/MetaMask.xcodeproj/project.pbxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,7 @@
16731673
OTHER_LDFLAGS = "$(inherited)";
16741674
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
16751675
SDKROOT = iphoneos;
1676+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
16761677
USE_HERMES = false;
16771678
};
16781679
name = Debug;

ios/MetaMask/PrivacyInfo.xcprivacy

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,28 @@
1919
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
2020
<key>NSPrivacyAccessedAPITypeReasons</key>
2121
<array>
22-
<string>C617.1</string>
2322
<string>0A2A.1</string>
23+
<string>3B52.1</string>
24+
<string>C617.1</string>
2425
<string>DDA9.1</string>
2526
</array>
2627
</dict>
2728
<dict>
2829
<key>NSPrivacyAccessedAPIType</key>
29-
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
30+
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
3031
<key>NSPrivacyAccessedAPITypeReasons</key>
3132
<array>
32-
<string>35F9.1</string>
33-
<string>8FFB.1</string>
33+
<string>E174.1</string>
34+
<string>85F4.1</string>
3435
</array>
3536
</dict>
3637
<dict>
3738
<key>NSPrivacyAccessedAPIType</key>
38-
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
39+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
3940
<key>NSPrivacyAccessedAPITypeReasons</key>
4041
<array>
41-
<string>85F4.1</string>
42-
<string>E174.1</string>
42+
<string>35F9.1</string>
43+
<string>8FFB.1</string>
4344
</array>
4445
</dict>
4546
</array>

ios/Podfile

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ require File.join(File.dirname(`node --print "require.resolve('expo/package.json
22
require_relative '../node_modules/react-native/scripts/react_native_pods'
33
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
44

5-
platform :ios, '13.4'
5+
platform :ios, '15.6'
66
prepare_react_native_project!
77
# Ensures that versions from Gemfile is respected
88
ensure_bundler!
@@ -105,21 +105,6 @@ target 'MetaMask-Flask' do
105105
end
106106

107107
post_install do |installer|
108-
# fix flipper with pika 15.3 toolchain
109-
installer.pods_project.targets.each do |target|
110-
if target.name == 'Flipper'
111-
file_path = 'ios/Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h'
112-
system("chmod +w " + file_path)
113-
contents = File.read(file_path)
114-
unless contents.include?('#include <functional>')
115-
File.open(file_path, 'w') do |file|
116-
file.puts('#include <functional>')
117-
file.puts(contents)
118-
end
119-
end
120-
end
121-
end
122-
123108
react_native_post_install(
124109
installer,
125110
# Set `mac_catalyst_enabled` to `true` in order to apply patches

0 commit comments

Comments
 (0)