4

I'm using the command line to build all the targets in my project. I have 3 targets in my project but the build file(.app) is getting created for one target.

Below is script

CONFIG="Ad Hoc"
SDK="iphoneos"
xcodebuild -alltargets -sdk "$SDK" -configuration "$CONFIG"

1 Answer 1

10
xcodebuild -project projectname.xcodeproj -alltargets
Sign up to request clarification or add additional context in comments.

2 Comments

You should be able to mark this as the solution now ;)
Thank you for your answer but for my case i need build and archive specific target how i can do this? Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.