Swift: Apple Mach-O Linker Error (file too small for architecture x86_64)

Try a full rebuild / clean. It’s possible that the a previous build has been abnormally aborted, leaving the ViewController.o file corrupted or zero-size.

To clean: In Xcode “Product” menu, select “Clean” (shortcut: Cmd+Shift+K)

To rebuild: In Xcode “Product” menu, select “Build” (shortcut: Cmd+B)

If it doesn’t work: In Xcode “Product” menu, hold down Option key, and select “Clean Build Folder”

reference from HERE.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)