Xcode keeps building earlier project versions


I’ve build and run a project called “project1” on Xcode. When I start a new project called “project2”, build and run it, Xcode always load “project1” I had re-installed and started newer projects but every time I run and build any projects, Xcode loads “project1”. Anyone had this issue before? Any directions I should investigate?

Appreciate your help!

make sure you have changed the ‘product’ name in Player settings to ‘product2’ and also in Player Settings->Bundle Identifier change it with something com.com.product2