Can you ask the file manager for an error code if createFileAtPath:contents:attributes: fails?
Summary A release‑build Objective‑C app was silently failing to write stereo‑pair image files using createFileAtPath:contents:attributes:. The debug build worked flawlessly, but the release build returned NO without any visible error. The underlying issue was that NSFileManager does not provide error details for createFileAtPath:, and the failure was caused by path construction differences and missing directory … Read more