Clone Xcode target to new target, with a new name and bundle identifier, using Ruby and "Xcodeproj"
First install xcodeproj
$ [sudo] gem install xcodeproj
(https://github.com/CocoaPods/Xcodeproj)
Then run:
$ sudo ruby cloneTarget.rb
And follow terminal flow:
Project path:
testingTest.xcodeproj
New target name:
newTargetName
New target bundle identifer
newTargetBundleIdentifer
Witch target to clone?
testingTest