Build interrupted - The following build commands failed: PhaseScriptExecution

xcode
#1

Bitrise Build Issue Report template

Description of the issue

When I try to build using a script step with the following command, the build fails because “interrupted”.
The script I use is the following:

xcodebuild -workspace [myworkspace] \
                   -scheme [myscheme] \
                   -configuration release \
                   build \
                         "CODE_SIGN_IDENTITY=[my identity]"

Environment:

Bitrise.io Sierra + Xcode 8.3

Reproducibility

Happens all the time. Rebuild/clear cache doesn’t help

Build log

Relevant bits:

CompileSwift normal i386
    cd /Users/vagrant/git/HarmonyUISDK
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/AppFinishedViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/ActionListViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/AppNextable.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/QuickLookController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/WebpageViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/NavigationController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/FormViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/CellReusability.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/EmptyDetailViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/SplitViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/FormCollectionViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/UIManager.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/ActionListTableViewCell.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/DatePickerCollectionViewCell.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/TextFieldCollectionViewCell.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/Button.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/OutputCollectionViewCell.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/TextAreaViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/RefreshControlView.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/AlertPresenter.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/SliderCollectionViewCell.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/ButtonCollectionViewCell.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/CaptureVideoPreviewView.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/URLSchemeManager.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/Image.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/ViewControllerFactory.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/ViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/InvalidOutputType.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/NotificationConfiguration.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/Color.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/MultipleChoicePickerController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/AppController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/VideoPresentationViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/InvalidOutputViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/InputCell.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/Tintable.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/NotificationManager.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/AppearanceConfigurable.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/LoadingTableViewCell.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/CalculatorViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/CameraCaptureViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/UIImage+Assets.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/DocumentViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/String.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/UserNotificationCenter.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/RefreshControl.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/Font.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/InstructionViewController.swift /Users/vagrant/git/HarmonyUISDK/HarmonyUISDK/HeaderView.swift -target i386-apple-ios10.0 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -I /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator -F /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator -F /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator/Alamofire -F /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator/Arcane -F /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator/MBProgressHUD -F /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator/NJKWebViewProgress -F /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator/Notifiable -F /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator/PIDatePicker -F /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator/UTIKit -g -import-underlying-module -module-cache-path /Users/vagrant/Library/Developer/Xcode/DerivedData/ModuleCache -D COCOAPODS -serialize-debugging-options -Xcc -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/HarmonyUISDK-generated-files.hmap -Xcc -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/HarmonyUISDK-own-target-headers.hmap -Xcc -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/HarmonyUISDK-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/HarmonyUISDK-project-headers.hmap -Xcc -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Products/Release-iphonesimulator/include -Xcc -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/DerivedSources/i386 -Xcc -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/DerivedSources -Xcc -DCOCOAPODS=1 -Xcc -ivfsoverlay -Xcc /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/vagrant/git/HarmonyUISDK -emit-module-doc-path /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/HarmonyUISDK.swiftdoc -serialize-diagnostics-path /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/AppFinishedViewController.dia -O -module-name HarmonyUISDK -emit-module-path /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/HarmonyUISDK.swiftmodule -emit-objc-header-path /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/HarmonyUISDK-Swift.h -emit-dependencies-path /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/AppFinishedViewController.d -num-threads 2 -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/AppFinishedViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/ActionListViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/AppNextable.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/QuickLookController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/WebpageViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/NavigationController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/FormViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/CellReusability.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/EmptyDetailViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/SplitViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/FormCollectionViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/UIManager.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/ActionListTableViewCell.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/DatePickerCollectionViewCell.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/TextFieldCollectionViewCell.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/Button.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/OutputCollectionViewCell.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/TextAreaViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/RefreshControlView.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/AlertPresenter.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/SliderCollectionViewCell.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/ButtonCollectionViewCell.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/CaptureVideoPreviewView.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/URLSchemeManager.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/Image.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/ViewControllerFactory.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/ViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/InvalidOutputType.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/NotificationConfiguration.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/Color.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/MultipleChoicePickerController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/AppController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/VideoPresentationViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/InvalidOutputViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/InputCell.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/Tintable.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/NotificationManager.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/AppearanceConfigurable.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/LoadingTableViewCell.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/CalculatorViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/CameraCaptureViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/UIImage+Assets.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/DocumentViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/String.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/UserNotificationCenter.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/RefreshControl.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/Font.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/InstructionViewController.o -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonyUISDK.build/Release-iphonesimulator/HarmonyUISDK.build/Objects-normal/i386/HeaderView.o
** BUILD INTERRUPTED **

** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution Build\ and\ generate\ universal\ framework /Users/vagrant/Library/Developer/Xcode/DerivedData/Harmony-gmuprenpzovutubhrzglrugotdmi/Build/Intermediates/HarmonySDK.build/Release-iphoneos/HarmonySDK-Universal.build/Script-EB5B18BA1DDC8506003607BD.sh
(1 failure)
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | script@1.1.3 (exit code: 65)                                  | 278 sec  |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-io/steps-script/issues             |
| Source: https://github.com/bitrise-io/steps-script                           |
+---+---------------------------------------------------------------+----------+
0 Likes

#2

Hi @FWFabio,

Thanks for reporting this here! :wink:

If the error is a PhaseScriptExecution ... .sh that means you have a custom Build Phase Script in your Xcode project which fails.

You should check the script and see why that fails, e.g. might be a missing / not installed tool you try to run.

Debug note: when you write a Bash script you should always start it with

set -ex

e.g.

#!/bin/bash
set -ex

ls

to enable Bash’s “log the command before execution” and “error if a command fails” modes.

If the formatted Xcode log does not include the output of the script (which seems to be the case in your report) then you should check the full, raw xcodebuild output log. Related guide: Xcode exit code 65 / exit code 66 / raw-xcodebuild-output.log

If you have any questions just let us know!

0 Likes

#3

Hi Viktor,
The scripts are already all -ex and the log is already from the raw logs.
The Scheme I’m building relies on a target that builds an universal framework out of simulator and iOS binaries. I can’t really figure out what’s wrong since it builds just fine on my Mac.

0 Likes

#4

Please include the log lines generated by the script, or send us the build’s bitrise.io URL through the onsite chat.

0 Likes