Add a second target in the Xcode 5 project

2019-09-20 18:34发布

问题:

Please help me to add second target in Xcode 5 , I need to build two different app like "app 1" and "app 2". app 1 should point to url 1 and app 2 should point to url 2 .

Also I should be able to install both the app on same device at same time.

I am using Xcode 5.1.

I have also tried to duplicating existing target and renamed it and changed product name and bundle identifier, But it iss over writing the app 1 when I install app 2.

回答1:

Follow the below steps to add new target in Xcode 5.1

1) Open Xcode and go to File->New-> Target
2) Choose a target for your new target and Tap on "Next"
3) Enter the Product Name (Target name) and Tap on Finish