LLMs suck at building iOS + MacOS apps. I put together a massive prompt with tons of info on writing Swift code that you can paste into the context window to make models much better at building iOS/MacOS apps. It's a bit repetitive and imperfect, but it'll work: