Fix the warning:
./contrib/macdeploy/gen-sdk:84: FutureWarning: GzipFile was opened for writing, but this will change in future Python releases. Specify the mode argument for opening it for writing.
Fix the warning:
./contrib/macdeploy/gen-sdk:84: FutureWarning: GzipFile was opened for writing, but this will change in future Python releases. Specify the mode argument for opening it for writing.
Fix the warning:
```
./contrib/macdeploy/gen-sdk:84: FutureWarning: GzipFile was opened for writing, but this will change in future Python releases. Specify the mode argument for opening it for writing.
```
Tested ACK 655d52a0cd6b3df738dc9843e25a95b8930b4628 with Python 3.10.
bitcoin/contrib/macdeploy/gen-sdk Xcode.app
Found Xcode (version: 12.5.1, build id: 12E507)
Found MacOSX SDK (version: 11.3, build id: 20E214)
Creating output .tar.gz file...
Adding MacOSX SDK 11.3 files...
Adding libc++ headers...
Done! Find the resulting gzipped tarball at:
SDK/Xcode-12.5.1-12E507-extracted-SDK-with-libcxx-headers.tar.gz