I also got similar issue because i am getting my framework end of build in my project : then i found solution:
add your project to framwork where you want :
Drag and Drop then go to :
Build Settings>> Search Paths >>Framework Search Path>>Change path to ./ (selecting recursive.)
or
Build Settings>> Search Paths >>Library Search Path>>Change path to ./ (selecting recursive.)
If that will not help then replace ./ to
$(PROJECT_DIR)/ => for getting project path dynamically . ../ => to go back to desire project folder
EX:
$(PROJECT_DIR)/..//Pinterest.embeddedframework