• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Command-line builds vs. Xcode preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Command-line builds vs. Xcode preferences


  • Subject: Command-line builds vs. Xcode preferences
  • From: Mel Walker <email@hidden>
  • Date: Thu, 6 Jan 2011 12:25:57 -0800

I have inherited a complicated xcode project with many subprojects building many frameworks and plugins. I have been tasked with getting it building on a buildbot, so I need to get it building properly from the command line. The catch: building it from inside Xcode requires the "Place Build Products in Customized Location" set from the Building pane in Xcode preferences, or it will not build properly.

How does that setting translate to the command line? I've been pouring through the documentation, but my attempts have all resulted in bad builds.

This works from my machine (but not the buildbot):
xcodebuild -project "MyApp.xcodeproj" -target "MyApp" -configuration "Release"

These do not work at all:
xcodebuild -project "MyApp.xcodeproj" -target "MyApp" -configuration "Release" "DEPLOYMENT_LOCATION=NO" "TARGET_BUILD_DIR=/Users/buildbotuser/Desktop/BUILDER/build" "OBJROOT=/Users/buildbotuser/Desktop/BUILDER/build-objects"
xcodebuild -project "MyApp.xcodeproj" -target "MyApp" -configuration "Release" "DEPLOYMENT_LOCATION=NO" "TARGET_BUILD_DIR=/Users/buildbotuser/Desktop/BUILDER/build" "SYMROOT=/Users/buildbotuser/Desktop/BUILDER/build" "OBJROOT=/Users/buildbotuser/Desktop/BUILDER/build-objects"

--
Mel Walker <email@hidden>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Command-line builds vs. Xcode preferences
      • From: Mike Shields <email@hidden>
    • Re: Command-line builds vs. Xcode preferences
      • From: Mark Wagner <email@hidden>
  • Prev by Date: Re: What's the command to pop back from cmd-click?
  • Next by Date: Re: Command-line builds vs. Xcode preferences
  • Previous by thread: Re: What's the command to pop back from cmd-click?
  • Next by thread: Re: Command-line builds vs. Xcode preferences
  • Index(es):
    • Date
    • Thread