Skip to content

Support persistent Xconfig file - #18

Merged
ps2 merged 1 commit into
LoopKit:devfrom
gestrich:bugfix/2022-04/bg/xcconfig-persist
Apr 2, 2022
Merged

ps2 merged 1 commit into
LoopKit:devfrom
gestrich:bugfix/2022-04/bg/xcconfig-persist

Conversation

@bill-foreflight

Copy link
Copy Markdown
Contributor

It can be cumbersome to change your team ID for every branch you check out to test. This change will allow you to drop an xcconfig file in the directory above your LoopWorkspace clone. I was hoping to do this in a file in the ~/ or ~/Desktop but I can't see how to generically access the user's home directory ($HOME and ~ not supported).

@@ -1,3 +1,4 @@
#include? "../../LoopConfigOverride.xcconfig"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ? means it is an option include.

One idea for supporting configs in the user's $HOME directory is to add includes for several levels like this (kind of hacky but works):

#include? "../../LoopConfigOverride.xcconfig"
#include? "../../../LoopConfigOverride.xcconfig"
#include? "../../../../LoopConfigOverride.xcconfig"
#include? "../../../../../LoopConfigOverride.xcconfig"

@ps2
ps2 merged commit 81a4dd5 into LoopKit:dev Apr 2, 2022
codebymini pushed a commit to codebymini/LoopWorkspace that referenced this pull request Sep 2, 2025
jeremybarnum pushed a commit to jeremybarnum/LoopWorkspace that referenced this pull request Oct 13, 2026
… @ 150d2b1)

airedev326/LibreCRKit no longer exists, so LibreLoop's package dependency
could not resolve and the workspace could not build from a fresh checkout.
Upstream LibreLoop switched to airedev326/RoundWhiteDiscKit in LoopKit#14.

LibreLoop 86c735e -> 150d2b1 (upstream LoopKit#18). Stops short of LoopKit#19+, which
need CgmEventError from a newer LoopKit than our fork carries.

Removes the LibreCRKit submodule and its workspace reference, and returns
the test workflow to a plain recursive checkout, with a step that prints
build errors that xcbeautify --quiet hides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0183NiXCKMp45RiZQ3UmqAZE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants