Alexander
Alexander

Reputation: 33

Cannot change Xcode project name - 3 targets - Swift Xcode 6.0.1

I'm using Xcode 6.0.1 and I'm trying to rename my project. When I do, I always end up with errors.

I have 3 targets. "Old Name" "Old NameTests" "Old Name Extensions"

How should I proceed to change the names? I've tried to do the normal double click, change name. But I end up with an error.

Upvotes: 2

Views: 1398

Answers (2)

Dayanithi Natarajan
Dayanithi Natarajan

Reputation: 843

  1. In Utility Area , Rename the project under "Identify and Type"
  2. Window -> Organizer -> Projects .. Delete the derived data path of the project
  3. In Editor Area, Targets -> "ProjectName"Tests ..
    Testing -> Host Application select your renamed project.

Clean and Run.

Upvotes: 1

David Ansermot
David Ansermot

Reputation: 6112

With the error message you posted in comments, you have to check that all your product bundle ID are according to libraries bundles.

Check all you infos.plist and update the bundles id prefix to be the same everywhere.

Upvotes: 0

Related Questions