- Duplicate a target.
- Double click the copy of target and change its name to whatever you want.
- ‘New target -> Build Settings -> Packaging -> Product Name’, change it to the name you want.
- Product (Menu item) > Schemes > Manage Schemes, then click the ‘+’ button, select the new target and click ‘OK’ button.
All done.
PS:
After Duplicating the target, Xcode make a new Info.plist file named ‘xxx copy-Info.plist’ in the root path of project. If you want to change its name and path, after doing this, you should go to ‘New target -> Build Settings -> Packaging -> Info.plist file’ and change the value to the path of new file.