Title says all
edit- cannot find a way to delete this post
generally the problem is the first error that appears because the others are just a consequence, in fact here it tells you, the type of architecture you are working on is x86, while the correct architecture is x86_64, just change it in Build_Settings