25

Seem like this feature was removed from xcode 5 ?

Prior to xcode5, it is easy to duplicate any target via clicking on the target, choose "duplicated blabla", then you will get it.

But for xcode5 , where is this hiding ?

Forrest
  • 122,703
  • 20
  • 73
  • 107

4 Answers4

35

Step1: Select the (blue) project icon in Xcode and open project setting page.

Xcode Proj settings

Step2: Click on the black arrow icon and explore the targets

XCode Proj setting 2

Step 3: Duplicate your target by selecting the target and press "cmd+D" keys. You can rename as you like.

Enjoy!!

HDdeveloper
  • 4,396
  • 6
  • 40
  • 65
30

Select your project in the left nav. In the main content area at the top, you have a row that is like a file navigator. Then the second row, right under the first, in the very left there is a little square arrow thing. That hides/shows the project and targets list.

pete-01
  • 352
  • 2
  • 3
6

This is the screenshot from xcode 6:

enter image description here

Barka
  • 8,764
  • 15
  • 64
  • 91
2

It's still there - right click on target or use CMD + D shortcut after selecting target

Grzegorz Krukowski
  • 18,081
  • 5
  • 50
  • 71