Commit graph

28 commits

Author SHA1 Message Date
jahorton
ccbc1b3b51 fix(ios): fixes xcode-triggered debug, run builds by defining missing env var 2023-04-11 09:05:50 +07:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Marc Durdin
0730098236 chore(ios): update ios/macos build scripts to log scripts
Adds run-xcodebuild function to wrap xcodebuild calls to keep logging
and error handling consistent. Currently used only by the iOS build; the
macOS build has a corresponding execBuildCommand function which does
pretty much the same thing (changing that would belong in a separate PR
I think and low priority.)
2022-06-24 11:37:46 +10:00
Marc Durdin
9904f91801 chore(ios): improve logging 2022-06-24 07:55:07 +10:00
Marc Durdin
fb53bb9396 chore(ios): attempt to log script actions 2022-06-24 07:18:02 +10:00
Marc Durdin
ed13200423 chore(ios): cleanup 2022-04-07 09:10:49 +10:00
Marc Durdin
5fa8441217 chore(ios): use TC build counter for uniqueness in build number 2022-04-07 06:08:01 +10:00
Keyman Server
a36be74cfd chore(ios): try date format for build_number 2022-04-06 20:28:07 +10:00
Keyman Server
8ff4802f2c chore(ios): track errors 2022-04-06 19:42:55 +10:00
Marc Durdin
e50ea7e862 feat(ios): testflight builds for PRs 2022-04-06 17:26:52 +10:00
Marc Durdin
4abdb64cd0 fix(ios): move sentry settings responsibility to build agent
The build agent already has the relevant `SENTRY_` environment variables
set in order to complete builds for all projects. Thus, we should
exclude these values from the xcode build. However, we need to ensure
that the `SENTRY_URL` and `SENTRY_ORG` variables are imported into the
xcode environment from the build agent environment.
2021-10-07 12:30:25 +11:00
Marc Durdin
aa22a3757a fix(ios): use environment and version-with-tag for sentry 2020-04-28 11:35:59 +10:00
Joshua Horton
d43b18419a
Merge pull request #2782 from keymanapp/feat/ios/engine-kbd-sentry
feat(ios): Improved Sentry integration (first pass)
2020-03-09 20:32:13 +07:00
Joshua Horton
aa353a7262
fix(ios): typo fix 2020-03-09 20:30:55 +07:00
jahorton
45e3028ce0 chore(ios/engine): Merge branch 'feat/ios/sentry-start' into feat/ios/engine-kbd-sentry 2020-03-09 09:09:18 +07:00
Joshua Horton
8feda6bbc1
Merge branch 'feat/ios/xcode-compile-dev-version' into feat/ios/sentry-start 2020-03-09 09:04:17 +07:00
jahorton
23af4e2497 fix(ios): shell-script quoting 2020-03-09 08:50:13 +07:00
jahorton
1757f205a0 chore(ios): Merge branch 'feat/ios/xcode-compile-dev-version' into feat/ios/sentry-start 2020-03-09 08:45:04 +07:00
Joshua Horton
8deebbfc9b
fix(ios): Update resources/build/xcode-utils.sh
Co-Authored-By: Marc Durdin <marc@durdin.net>
2020-03-09 08:39:32 +07:00
jahorton
c7df79e00f fix(ios): shell script quotes 2020-03-09 08:29:41 +07:00
jahorton
38cfe74563 feat(ios): proper debug file format for KMEI 2020-03-05 14:26:30 +07:00
jahorton
7b9dc42f84 chore(ios): Merge branch 'feat/ios/xcode-compile-dev-version' into feat/ios/sentry-start 2020-03-05 13:50:32 +07:00
jahorton
c161fade8e feat(ios): adds updates for version string in iOS settings 2020-03-05 13:35:50 +07:00
jahorton
989f5f2e8d change(ios): 'buildWarning' & 'buildError' macros in xcode-utils.sh 2020-03-05 09:53:50 +07:00
jahorton
02a5bc8a32 chore(ios): A bit of cleanup 2020-03-05 09:37:30 +07:00
jahorton
a6a6e227d3 feat(ios): Autogenerates environment.sh environment-def resource 2020-03-05 09:33:06 +07:00
jahorton
f79e9ef136 change(ios): Sentry upload script for xcode-utils.sh 2020-03-04 21:34:39 +07:00
jahorton
9cf45434f8 change(ios): reworks new version update as xcode-utils.sh 2020-03-04 08:31:55 +07:00