poml88 / FLwatch

iOS and watchOS to display glucose readings from the Freestyle Libre cloud.
MIT License
4 stars 0 forks source link

Add `.DS_Store` and `xcuserdata` to .gitignore #6

Closed gui-dos closed 6 days ago

gui-dos commented 1 week ago

I am noticing that DEVELOPMENT_TEAM and PRODUCT_BUNDLE_IDENTIFIER defined in LibreWristConfig.xcconfig are unused in many points of the project.pbxproj and of the entitlements files.

This PR should ease a lot the building process to potential contributors like me... ;-)

poml88 commented 5 days ago

@gui-dos Question: How do I do with the ##DEV_TEAM##? I have to set my team, but then, when I commit something the placeholder is gone... Should the config file be in the .gitignore?

gui-dos commented 5 days ago

@poml88

Personally, I adhere to the same conventions as other DIY projects such as Glucose Direct, xDrip4iOS, iAPS, ...

In fact, my DiaBLE.xcconfig was actually submitted by FreeAPSX’s member @mountrcg (https://github.com/ninghaixin/DiaBLE/commit/47640fd). The technique is to allow the user to customize the variable substitutions in a *Override.xcconfig file (added manually or downloaded online) which is invoked at the end by the standard one in the repo but that is itself ignored by adding for example a *Override.xcconfig line in .gitignore.

poml88 commented 5 days ago

Ok, thanks, yes, I have seen this override thingy... Guess have to find out how that works.