Questions tagged [xcodebuild]

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

builds one or more targets contained in an project, or builds a scheme contained in an Xcode workspace or Xcode project.

Usage

To build an Xcode project, run from the directory containing your project (i.e. the directory containing the projectname.xcodeproj package). If you have multiple projects in the this directory you will need to use -project to indicate which project should be built. By default, builds the first target listed in the project, with the default build configuration. The order of the targets is a property of the project and is the same for all users of the project.

See More

Building from the Command Line with Xcode FAQ

1388 questions
0
votes
2 answers

xcodebuild -- iOS -- Linking wrong dylib

I'm trying to use xcodebuild to compile an iOS project. The project builds fine via XCode GUI; however, the builds fails with xcodebuild. The problem seems to be that the project requires libiconv.dylib and xcodebuild links it against the wrong…
TMacGyver
  • 1,281
  • 3
  • 12
  • 27
0
votes
1 answer

Archiving iOS ipa with new resources/assets

This is a pretty specific scenario for the process I'm trying to create. The apps I'm using have a purpose to launch in offline mode so that users can start the app when they don't have any signal/internet connectivity. The problem: I'm trying to…
kevinl
  • 4,194
  • 6
  • 37
  • 55
0
votes
1 answer

xcode conditional compilation

I have following issue: I have an iPhone application which can be compiled using various color styles. So the goal is to have several build configurations with defined style, for instance COLOR_STYLE_BLACK. Style definition files should be placed…
0
votes
1 answer

xcodebuild header files not found in ReskIt

I am pretty new to Xcode development. We are using command line tools to build the iOS project. We kep on getting the RestKit/RestKit.h file not found error while using command line build. If we use the normal XCode utility build it build without…
Anand
  • 291
  • 3
  • 13
0
votes
0 answers

After installing : entitlement 'application-identifier' has value not permitted by a provisioning profile

I have an ipa file which I have build using xcodebuild (cmd tools), and successfully install on and can see it on my iPad. When I launch it, it just sits with a blank screen and I can see in the console(Xcode) : entitlement 'application-identifier'…
0
votes
2 answers

Can't build a new project with xcode on my MacPro

I've installed on my MacPro (intel) Xcode 3.2.1 (iPhone SDK 3.1.2) and Snow Leopard I made a new project (called Untitled) for iPhone OS, when I try to build, it returns an error: *file not found:…
iDiot
  • 5
  • 1
  • 3
0
votes
1 answer

executing xcodebuild from php website

I have written the appropriate xcode build scripts and when I run them from the command line they work each and every time. I have my apache system running as my local user/group (myuser/staff), so it SHOULD have the proper permissions (I…
MrNickel
  • 426
  • 4
  • 9
0
votes
1 answer

Jenkins, xcodebuild -> JUnit-Tests with Appium?

i am using Jenkins CI to build my iOS-Project. For this task, I use a sh-script to build the binaries directly from a git-repo by running xcodebuild and thats working pretty well. Currently I run JUnit-tests with appium from eclipse to test my app,…
Philipp Li
  • 499
  • 6
  • 22
0
votes
1 answer

FileMaker Plugin Issue

I am compiling a plugin for FileMaker using Xcode. I get no errors or warnings, and my 'target' is my FM/Extensions folder. Everything works well on my computer. It installs and then when I open FileMaker/Preferences/Plugin it is listed like it…
Pfeffer
  • 49
  • 2
  • 6
0
votes
2 answers

Jenkins + iOS + TestFlight API

I installed a Jenkins and startet a Project with the Git Plugin, Xcode Plugin and the Testflight Plugin. I can create automatic builds with the setup, but it is failing at the point on creating the .ipa files for Testflight. The problem are at…
mariusLAN
  • 1,195
  • 1
  • 12
  • 26
0
votes
2 answers

Problem installing ad hoc-provisioned app built with SDK 3.1.2 on device running iPhone OS 3.0

I'm trying to install an ad hoc-provisioned iPhone app compiled under the 3.1.2 SDK on a device running iPhone OS 3.0 via iTunes. I'm getting a message "The application was not installed because it requires a newer version of iPhone OS." The build…
vellum
  • 5
  • 2
0
votes
1 answer

iOS: Building project from terminal using xcodebuild

I have a static library in the project. I have setup header search path correctly to point library directory recursively. Could someone please tell me why is following error while buling project from terminal using xcodebuild? admin$ xcodebuild…
Paresh Masani
  • 7,474
  • 12
  • 73
  • 139
0
votes
2 answers

Xcodebuild's .app crashes immediately? But Xcode's .app runs successfully

I'm using xcodebuild to build and install my app on the simulator (by copying the .app to ~/Library/Application Support/iPhone Simulator/6.1/Applications/UUID/) from the command line. I use: xcodebuild -target MyApp -configuration Debug …
johngraham
  • 6,461
  • 2
  • 16
  • 22
0
votes
1 answer

Cordova file not recognised when app built from command line + iOS

I have created an app in IOS with cordovav 2.1.0 framework. I am building the app from command line (from the path where the proj_name.xcodeproj exists) with command as :- xcodebuild -sdk iphoneos6.1 -target blahapp. I get the error as fatal error:…
clint
  • 1,786
  • 4
  • 34
  • 60
0
votes
1 answer

No iPhoneOS target in xcode

I am a member of the iPhone developer program. I've created my development certificate and provisioning profile. I've installed both. However, when I create an empty new xcode project the Target Destination only lists 'Simulator - 3.1.2 | Debug'.…