Commit Graph

4 Commits

Author SHA1 Message Date
dnzxy f8f46a76ea Fastfile additions and changes
* Add new xDrip Widget Extension bundle ID
* Change bundle ID and target for Watch Complication Extension
* Change bundle ID and target for Watch App
* Change bundle ID and target for Widget Extension
* Resolve packages
* Update Testflight.md
2024-03-24 22:03:09 +01:00
Paul Plant 767ea94567
update fastfile to match Xcode 15 changes (#467) 2023-09-27 16:21:39 +02:00
Deniz Cengiz bd63c7c7c8
GH Action Validation Improvements and bump to Fastlane 2.215.0 (#465)
* validate_secrets.yml: Port over improved validations

* add_identifiers.yml: Add branch name to run log; change job name

* create_certs.yml: Add branch name to run log; change job name

* build_xdrip.yml: Add validation as dependent step

* validate_secrets.yml: Update Fastlane to 2.215.0

* add_identifiers.yml: Update Fastlane to 2.215.0

* create_certs.yml: Update Fastlane to 2.215.0

* build_xdrip.yml: Update Fastlane to 2.215.0

* Gemfile.lock: Update Fastlane to 2.215.0

* Update Fastfile: Port over improved validations

* Update build_xdrip.yml: Bump Xcode to 15.0
2023-09-27 15:49:56 +02:00
bjornoleh a13f11aa7a
FastLane and GitHub Actions for Mac-free install, for semi-automated TestFlight distributions (#419)
* Copy FastLane and GitHub Actions for Mac-free install

Copied from FreeAPS-X, not yet adapted to Xdrip4iOS. Originally based on FastLane and GitHub Actions from LoopKit/LoopWorkspace

* Adapt Fastfile and workflow file, rename workflow file to build_xdrip.yml

* Adapt instructions to Xdrip4iOS

* Fastfile: fix scheme (xdrip)

* xDrip.xcconfig: MAIN_APP_BUNDLE_IDENTIFIER = com.$(DEVELOPMENT_TEAM).xdripswift

* Add CURRENT_PROJECT_VERSION = $(CURRENT_PROJECT_VERSION) to xDrip and xdrip4iOS Widget targets

* testflight.md instructions: Add NFC Tag Reading to xdripswift App ID

-and some adjustments to identifier names

* Validate repository secrets

Copied from https://github.com/LoopKit/LoopWorkspace/pull/36

Validate repository secrets (#36)
* Validate repository secrets

Adds support for validation of repository secrets.

* Validate $FASTLANE_KEY as unencrypted PKCS#8

* Number workflows to guide sequential exection

* Add commented-out template for automated builds on push and on schedule (every two months)

Users must uncomment (remove "#") from the start of the lines indicated in the workflow to enable automated builds.

* testflight.md: Add Validate Secrets

instructions, and add numbered workflows.

* testflight.md: Add info about TestFlight on a child’s phone

* testflight.md: add info about steps to re-use for "Browser Builds" of other apps

* Add NFC tag reading capability to TestFlight app from Fastfile

Remove step for manual setup of NFC tag reading capability from testflight.md

* Always upload artifacts

* build_xdrip.yml: remove "secrets" job

No need to validate secrets for every build. This can be done by running Validate secrets manually.

- remove "with: submodules: recursive" from Checkout action

* build_xdrip.yml: Add branch name to run-name

* testflight:md: update instructions

* Build on macos-13 and Xcode 14.3

macos-13 is still in beta as GitHub Actions runner, but works well.

Available Xcode versions are listed here, Xcode 14.2 is currently the default:
https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#xcode

* Remove $(SRCROOT)/ from  INFOPLIST_FILE due to build error with Fastlane


INFOPLIST_FILE = "$(SRCROOT)/xdrip/Supporting Files/Info.plist"

Fastlane error:
-Cannot set build number with plist path containing $(SRCROOT)
-Please remove $(SRCROOT) in your Xcode target build settings
More info: https://github.com/fastlane/fastlane/issues/329

* build_xdrip.yml: correct app name (xDrip4iOS) in workflow name

* Sync changes from upstream, and keep repository "alive" 

The keep alive action allow scheduled runs beyond the 60 day repo inactivity limit for scheduled GitHub Actions

* build_xdrip: SYNC_UPSTREAM: 'true' / 'false'
2023-06-02 11:13:42 +02:00