The biogenesis of a proton-transporting ATP synthase (also known as F-type ATPase), a two-sector ATPase found in the inner membrane of mitochondria and chloroplasts, and in bacterial plasma membranes. Includes the synthesis of constituent proteins and their aggregation, arrangement and bonding together.