Top "Xcodebuild" questions

Questions related to the use of the command-line xcodebuild tool, which is part of Apple's Xcode toolset

xcodebuild: simulator or device?

How do I specify to xcodebuild (the command line tool) whether I want to build for the simulator or device?

iphone xcode ios xcodebuild
How can I resolve "Error: No developer directory found at /Developer"?

I just upgraded XCode to 4.3.1. I'm using a script to build (and then deploy through Testflight) my app. But I …

xcode macos xcodebuild
How can I use the legacy build system with Xcode 10's `xcodebuild`?

I'd like to use the new build system of Xcode 10 for development, but our build in our continuous integration system …

xcode continuous-integration xcodebuild xcode10
Running xcodebuild from a forked terminal

I'm trying to setup an automated build server for an iPhone application. I'd like to be able to have nightly …

iphone xcode xcodebuild
XCode bundle identifier formatting from {PRODUCT_NAME}

Assume I have an iPhone application whose Product Name is "My App" (with a space between words) in XCode build …

iphone xcodebuild cfbundleidentifier
Xcode 4 build succeeds, command line build fails?

I have a project in Xcode 4 (the latest non-beta version) that builds fine when built in Xcode itself. Specifically, the …

ios xcode xcode4 xcodebuild
git error "unable to locate xcodebuild" after a fresh OS X Mavericks upgrade

When I try to run previously working git commands, I get this: dyld: Symbol not found: _sqlite3_intarray_bind Referenced …

git xcodebuild osx-mavericks
Xcode - how to include c library and header file to cocoa project?

How do I add c library to Xcode Cocoa project? Or what is the best option, I don't want to …

objective-c cocoa xcode xcodebuild
Is the project.xcworkspace file important?

I am doing command line xcodebuild using a shell script. My problem is if I open and close the xx.…

objective-c xcode xcodebuild
Cannot build XCode project from command line but can from XCode

I've created in XCode a simple navigation-based iPhone app. The app builds and runs properly from under XCode but I …

iphone objective-c xcode xcodebuild