xcode6 - Xcode build post script for build failed -
how can detect build failed status in post action script xcode edit scheme section different targets?
i planning send sms me if build failed in ci.
thanks in advance.
post build scripts (specified in xcode project file) executed if build passes, not when fails.
if want handle case should use continuous integration solution (ex: https://fastlane.tools/) or service (https://bitrise.io/ - cto here), or write script calls xcode's command line tool xcodebuild
returns error code if can't perform given action (build, archive, test, ...), can handle case way want in script.
Comments
Post a Comment