Skip to content

Conversation

@bill-foreflight
Copy link
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
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
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