0

I am using Swift Playgrounds on iPad, and every time I try to start my app, it just says “Build failed because the Mach-O file couldn’t be generated.” I have no idea what this means. image

I tried restarting my device, clearing the app data and restarting it, and I deleted Playgrounds and reinstalled it again. There are no errors in the code, so I don’t know what’s going on here.

MASONNET
  • 3
  • 3
  • Does this answer your question? [Apple Mach-O Linker Error when compiling for device](https://stackoverflow.com/questions/5329001/apple-mach-o-linker-error-when-compiling-for-device) – yawnobleix Jun 07 '23 at 08:08
  • That’s XCode, and I don’t have a Mac (Even though I want one so bad). – MASONNET Jun 08 '23 at 14:08

1 Answers1

0

FYI, this happened to me, and the problem arose from having swift files of the same name in different folders. Once I renamed all files to be unique, the problem went away.

BobL
  • 1