Xcode “Build and Archive” from command line

I found how to automate the build and archive process from the comand line, I just wrote a blog article explaining how you can achieve that. The command you have to use is xcrun: /usr/bin/xcrun -sdk iphoneos PackageApplication \ -v “${RELEASE_BUILDDIR}/${APPLICATION_NAME}.app” \ -o “${BUILD_HISTORY_DIR}/${APPLICATION_NAME}.ipa” \ –sign “${DEVELOPER_NAME}” \ –embed “${PROVISONING_PROFILE}” You will find all the … Read more

Xcode 4 – “Archive” is greyed out?

You have to select the device in the schemes menu in the top left where you used to select between simulator/device. It won’t let you archive a build for the simulator. Or you may find that if the iOS device is already selected the archive box isn’t selected when you choose “Edit Schemes” => “Build”.

Xcode Project vs. Xcode Workspace – Differences

I think there are three key items you need to understand regarding project structure: Targets, projects, and workspaces. Targets specify in detail how a product/binary (i.e., an application or library) is built. They include build settings, such as compiler and linker flags, and they define which files (source code and resources) actually belong to a … Read more

How to install Xcode Command Line Tools

Xcode 5.1 and OSX 10.9. (also works with Xcode 5.1.1 + OSX 10.10) xcode-select –install worked with version 2333, failed with version 2003. So, try xcode-select –install and if that does not work download as described below. In early February 2014 xcode-select –install has been reporting that “Can’t install the software because it is not … Read more

How to update Xcode from command line

What you are actually using is the command to install the Xcode command line tools – xcode-select –install. Hence the error message you got – the tools are already installed. The command you need to update Xcode is softwareupdate command [args …]. You can use softwareupdate –list to see what’s available and then softwareupdate –install … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)