Fixed build phases, frameworks are now copied