在 Xcode 5 项目中添加第二个目标 [英] Add a second target in the Xcode 5 project
问题描述
请帮我在 Xcode 5 中添加第二个目标,我需要构建两个不同的应用程序,如app 1"和app 2".app 1 应该指向 url 1 ,app 2 应该指向 url 2 .
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.
我使用的是 Xcode 5.1.
I am using Xcode 5.1.
我也尝试复制现有目标并重命名它并更改产品名称和捆绑标识符,但是当我安装应用程序 2 时,它会覆盖应用程序 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.
推荐答案
按照以下步骤在 Xcode 5.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
这篇关于在 Xcode 5 项目中添加第二个目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!