Top "Xcodebuild" questions

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

How do I force Xcode to rebuild the Info.plist file in my project every time I build the project?

Apparently the file gets cached, so it only gets built when it gets changed. I have environment variables set to …

xcode xcodebuild
install application in iphone device through command line

I'm using xcodebuild install -alltargets -iphoneos4.2 -activeconfiguration provisioning_profile=path_of_my_provisioningprofile code_sign_identity=identity. This command is …

command-line xcodebuild
Clean IOS xcode target in command line

I am building/running an IOS app from command line with following commands: xcodebuild -sdk "${TARGET_SDK}" -xcconfig "${CONFIG_FILE_…

ios xcode build xcodebuild xcrun
xcode build fails with error code 65 without indicative message

I'm experiencing weird behaviour with my iPhone CI job (running in TeamCity). Every once in a while our build fails …

xcode xcodebuild
The project named "Foo does not contain a scheme named "Bar" bitrise.io

I just configure a project in bitrise.io. But the xcode-build fails with error: xcodebuild: error: The project named "Foo" …

ios xcode xcodebuild bitrise
How to display compiler output or custom build steps output when building with xcode?

How can I see the output from the compiler of from the custom build steps (pre-action or post-action)?

xcode xcode4 xcodebuild
xcodebuild -exportArchive: exportOptionsPlist error for key 'method': expected one of {}

I'm using command line xcodebuild tool to export ad-hoc distribution ipa file out of my archive like this: xcodebuild -exportArchive …

ios xcode ios9 xcode7 xcodebuild
xcodebuild workspace and scheme

I am a little confused as to what happens with the xcodebuild command line tool when you specify a workspace …

ios xcode4 xcodebuild
iOS builds / ipa creation no longer works from the command line

Overview Our command line builds (to build and create the .ipa) are no longer working. iTunesConnect has started rejecting builds …

ios xcode xcodebuild
When I "Build for archive" in Xcode 4, where does the file go?

When I "Build for archive" in Xcode 4, where does the file go? As in, where on my computer is the …

xcode ios xcodebuild