Repository Public License
1#!/usr/bin/env bash2# =============================================================================3# SP BOUCHER | INFRASTRUCTURE & AUTOMATION4# ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5# =============================================================================6#7# Project : ORIX Monitor8# File : Scripts/xb.sh9# Description : Runs xcodebuild for the app scheme and prints only errors,10# warnings and the result line.11# Module : Scripts12# Repository : https://git.spboucher.ai/orix-monitor13# Created : 2026-11-2114# Last Modified : 2026-11-2115#16# Author : Simon-Pierre Boucher17# Position : Professor of Finance18# Institution : Université du Québec en Outaouais (UQO)19# Organization : SP Boucher20# Website : https://spboucher.ai21# Git : https://git.spboucher.ai22#23# Preferred Contact: support@spboucher.ai24# Technical Contact: dev@spboucher.ai25# Security/Admin : admin@spboucher.ai26#27# Copyright (c) 202628# Simon-Pierre Boucher29# All rights reserved where applicable. This file is governed by the30# applicable project license, copyright notices and relevant law.31# Existing third-party rights and notices remain unaffected.32#33# License : Proprietary, all rights reserved (see license file)34# License File : LICENSE35#36# Do not embed credentials, private keys, access tokens,37# certificates or confidential personal information.38#39# =============================================================================40# END OF SP BOUCHER SOURCE HEADER41# =============================================================================4243set -uo pipefail44cd "$(dirname "$0")/.."45CONFIG="${1:-Debug}"; shift || true46xcodebuild -project ORIXMonitor.xcodeproj -scheme ORIXMonitor -configuration "$CONFIG" -derivedDataPath build/dd "${@:-build}" 2>&1 \47 | grep -E "^/.*(error|warning):|error:|\*\* " | grep -v "macro expansion" | sed "s|$PWD/||" | sort -u | head -6048