I found that when you duplicate a Xcode project, say to make experimental changes you don’t want in the original project, you find that the newly duplicated project actually points to the original project.
That is because there is a workspace file within the xcodeproj bundle, project.xcworkspace, that contains the name of the original project, so you may want to edit that workspace file in order for it to point to the newly duplicated project.