I am using command line to create all targets in my project. I have 3 targets in my project, but the build file (.app) is generated for one target.
Below script
CONFIG="Ad Hoc"
SDK="iphoneos"
xcodebuild -alltargets -sdk "$SDK" -configuration "$CONFIG"
source
to share