mlsanityData to 14 Oct 2026

A Pilot Study on LLM-Based Agentic Translation from Android to iOS: Pitfalls and Insights

arXiv 2507.16037 ↗First posted 21 Jul 2025cs.SEcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

The rapid advancement of mobile applications has led to a significant demand for cross-platform compatibility, particularly between the Android and iOS platforms. Traditional approaches to mobile application translation often rely on manual intervention or rule-based systems, which are labor-intensive and time-consuming. While recent advancements in machine learning have introduced automated methods, they often lack contextual understanding and adaptability, resulting in suboptimal translations. Large Language Models (LLMs) were recently leveraged to enhance code translation at different granularities, including the method, class, and repository levels. Researchers have investigated common errors, limitations, and potential strategies to improve these tasks. However, LLM-based application translation across different platforms, such as migrating mobile applications between Android and iOS or adapting software across diverse frameworks, remains underexplored. Understanding the performance, strengths, and limitations of LLMs in cross-platform application translation is critical for advancing software engineering automation. This study aims to fill this gap by evaluating LLM-based agentic approaches for mobile application translation, identifying key failure points, and proposing guidelines to improve translation performance. We developed a chain of agents that account for dependencies, specifications, program structure, and program control flow when translating applications from Android to iOS. To evaluate the performance, we manually examined the translated code for syntactic correctness, semantic accuracy, and functional completeness. For translation failures, we further conducted a detailed root cause analysis to understand the underlying limitations of the agentic translation process and identify opportunities for improvement.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 42 references that are in the map. First posted on arXiv 21 Jul 2025.

Builds on

23 of 42 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep

Other references · 22

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  4. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  5. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  6. 2023AppAgent: Multimodal Agents as Smartphone Userscited by 415
  7. 2020Unsupervised Translation of Programming Languagescited by 263
  8. 2020IntelliCode Compose: Code Generation Using Transformercited by 227
  9. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
  10. 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 140
  11. 2020A Transformer-based Approach for Source Code Summarizationcited by 133
  12. 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 96
10 more
  1. 2024MobileAgentBench: An Efficient and User-Friendly Benchmark for Mobile LLM Agentscited by 63
  2. 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 57
  3. 2024Towards Translating Real-World Code with LLMs: A Study of Translating to Rustcited by 35
  4. 2024AlphaTrans: A Neuro-Symbolic Compositional Approach for Repository-Level Code Translation and Validationcited by 28
  5. 2023CoTran: An LLM-based Code Translator using Reinforcement Learning with Feedback from Compiler and Symbolic Executioncited by 22
  6. 2025Large Language Models for Code Generation: The Practitioners Perspectivecited by 9
  7. 2024Retrieval-Augmented Test Generation: How Far Are We?cited by 7
  8. 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignmentcited by 7
  9. 2024Specification-Driven Code Translation Powered by Large Language Models: How Far Are We?cited by 5
  10. 2025Building A Proof-Oriented Programmer That Is 64% Better Than GPT-4o Under Data Scarcitycited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Understanding the Weakness of Large Language Model Agents within a Complex Android Environment
  2. 2024Agents in Software Engineering: Survey, Landscape, and Vision
  3. 2026LegacyTranslate: LLM-based Multi-Agent Method for Legacy Code Translation
  4. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future
  5. 2023AutoDroid: LLM-powered Task Automation in Android
  6. 2026Do LLMs Need to See Everything? A Benchmark and Study of Failures in LLM-driven Smartphone Automation using Screentext vs. Screenshots
  7. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System
  8. 2025AndroidGen: Building an Android Language Agent under Data Scarcity