• 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
Re: [Solved] Train Wreck using xcodebuild in Xcode 6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Solved] Train Wreck using xcodebuild in Xcode 6


  • Subject: Re: [Solved] Train Wreck using xcodebuild in Xcode 6
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 29 Sep 2014 12:31:49 -0700


On Sep 29, 2014, at 11:36 AM, Jerry Krinock <email@hidden> wrote:

The build was aborting when a custom Run Script Build Phase tried to read a value from the product’s Info.plist using PlistBuddy, but the Info.plist wasn’t there yet.

Was the problem that PlistBuddy failed, but the shell script didn't tell Xcode about the error? I've had that sort of problem a lot in custom build phases. Adding the "-e" flag to the shell arg list, or adding "set -e" at the top of the script, will cause the shell to exit and signal failure if any of its commands fail.

(Apologies if you already know that. Maybe this will help someone else…)

—Jens

 _______________________________________________
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: [Solved] Train Wreck using xcodebuild in Xcode 6
      • From: Jerry Krinock <email@hidden>
References: 
 >Train Wreck using xcodebuild in Xcode 6.0.1 (From: Jerry Krinock <email@hidden>)
 >Re: Train Wreck using xcodebuild in Xcode 6.0.1 (From: Fritz Anderson <email@hidden>)
 >Re: [Solved] Train Wreck using xcodebuild in Xcode 6 (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: [Solved] Train Wreck using xcodebuild in Xcode 6
  • Next by Date: Re: Frozen editing window when debugging
  • Previous by thread: Re: [Solved] Train Wreck using xcodebuild in Xcode 6
  • Next by thread: Re: [Solved] Train Wreck using xcodebuild in Xcode 6
  • Index(es):
    • Date
    • Thread