Why do I see "No such file or directory" .pcm warnings when using Xcode 26 caching on Codemagic?
Last updated: June 26, 2026
Context
You enabled the new Xcode 26 compilation caching following the Codemagic caching guide and started seeing warnings such as “No such file or directory” for .pcm files in the Xcode ModuleCache (for example, _Builtin_tgmath.pcm or CoreLocation.pcm). You’re wondering if the cache isn’t being restored correctly and whether there’s anything you should change to speed up builds.
Answer
This is a known Xcode 26 issue related to the new compilation caching feature. These .pcm “No such file or directory” messages are warnings and do not indicate a failed cache restore on Codemagic. In practice, builds complete successfully and artifacts (including dSYM files) are generated as expected. You can safely ignore these warnings while Apple refines Xcode’s caching behavior in upcoming releases.
Run your build as usual on Codemagic.
After completion, confirm that required artifacts (e.g., the app archive and dSYM) are present in the Artifacts tab. If they are, the warnings did not impact your build.
If you prefer to avoid the log noise temporarily, you can disable Xcode compilation caching in your workflow to suppress these warnings. Your builds will still run normally without it.
Sources: