惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
云风的 BLOG
云风的 BLOG
小众软件
小众软件
V
V2EX
博客园 - Franky
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
量子位
博客园 - 【当耐特】
雷峰网
雷峰网
WordPress大学
WordPress大学
Jina AI
Jina AI
Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
阮一峰的网络日志
阮一峰的网络日志
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
Visual Studio Blog
Microsoft Security Blog
Microsoft Security Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Android File Transfer on Mac is Broken, So I Built SwiftMTP
Neighbor_Z · 2026-04-22 · via DEV Community

If you are an Android user with a Mac, you might be clear how problematic it is when it comes to transferring files between two kinds of devices. Existing file transfer solutions through cable are currently inadequate. Google’s Android File Transfer suffers from stability issues, a 4GB transfer problem, and restricted file management capabilities (e.g., no renaming). What’s even worse is that it hasn’t been updated about 8 years and has never supported Apple Silicon Macs natively.

While several third-party alternatives exist, they remain far from perfect. Users are often forced to choose between lackluster UI designs, expensive subscriptions, or technical compromises. Many rely on Wi-Fi, which is sensitive to network conditions and prone to instability, or ADB (USB Debugging), which introduces unnecessary security risks.

Furthermore, some modern tools are built using web-based UI and Electron wrappers. These apps are “heavyweight” — consuming excessive RAM and bloating the software’s footprint. The gap between these tools and a truly “perfect” native experience remains big.

Driven by these frustrations and inspired by the open-source spirit, I set out to build a new tool called SwiftMTP designed to tackle as many of these pain points as possible, delivering a polished user experience.

Main UI

TL;DR: Just looking for the app? Scroll to the bottom of the page for the download links.
That said, I truly recommend reading the story behind its creation to see what makes SwiftMTP different.

Why Swift?

When developing for macOS, a native experience should be the priority. This led me to Swift. As the name SwiftMTP suggests, “Swift” represents both the programming language and the core goal of the project: speed.

The benefits of native development are immediate: By using Swift, I can leverage native macOS components — menus, icons, and interactive elements — out of the box. This ensures a consistent look and feel while avoiding the overhead of Electron. The result is a tiny Footprint: SwiftMTP’s compiled binary is less than 20MB. Meanwhile it natively supports both Intel and Apple Silicon Macs.

To put this in perspective: an Electron-based transfer tool might reach 360MB for a single architecture, and even more for a Universal build. This is because Electron must bundle a full “browser engine” just to render the user interface — an inefficient use of resources that SwiftMTP avoids entirely.

Look into the Engine (The Backend)

A pretty interface is useless without a stable “backend” to communicate with Android devices. While researching existing open-source go-mtp solutions, I found they provided a solid foundation but suffered from two critical flaws: character encoding issues and transfer preparation issues.

The existing solution has near-zero support for UTF-16/CJK or Emoji character sets. In practice, this means that transferring items with Emojis or special characters in the name often results in garbled text or “???” marks on the destination device.

The existing solution also attempts to calculate all file metadata (for progress bars and indexing) before a transfer begins. In my testing, trying to transfer 500 photos (roughly 1.5GB) caused the backend to hang for nearly 35 minutes just to “calculate” the transfer. This is unacceptable. While disabling this calculation is a temporary fix, it usually kills transfer performance.

In addition, although the underlying go-mtp protocol has the potential for multi-device support, most existing implementations simply stop working when more than one device is plugged in.

The SwiftMTP Solution

Good news is, SwiftMTP solved these issues. The result is a tool that is fast, lightweight, and reliable.

Key Features

  • Native Performance: Small footprint, high efficiency, and Universal (Intel/ARM) support.
  • Sidebar Favorites: Just like Finder, you can pin your most-used Android folders to the sidebar for instant access.
  • Full Localization: Using Xcode’s Localizable.xcstrings, SwiftMTP features comprehensive multi-language support.
  • Optimized Backend: I have overhauled the MTP communication layer to fix character encoding bugs (no more “???” files) and eliminated the metadata calculation problem for fast transfers.

Links

Website: https://neighbor-z.github.io/swiftmtp-website
GitHub repo: https://github.com/Neighbor-Z/SwiftMTP/

Info

System Requirements: macOS 12.0+
Contact: zerkam04@gmail.com