Skip to content

Commit

Permalink
Project setup to facilitate external contributions (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
insidegui committed Jun 13, 2023
1 parent a0d89fa commit fe5f096
Show file tree
Hide file tree
Showing 17 changed files with 477 additions and 55 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,7 @@ fastlane/test_output

iOSInjectionProject/
.DS_Store

# Generated Config Files

TeamID.xcconfig
8 changes: 8 additions & 0 deletions PiStatsMobile/Config/Main.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// If you see this error: "could not find included file 'TeamID.xcconfig' in search paths"
// Make sure you have run the bootstrap script from the project's root directory to set up signing for your team ID.
// You may need to close and re-open the project after doing so.
#include "TeamID.xcconfig"

CODE_SIGN_STYLE = Automatic

PISTATS_APPGROUP_ID=group.dev.bunn.PiStatsMobile
8 changes: 8 additions & 0 deletions PiStatsMobile/Config/OpenSource.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include "Main.xcconfig"

// Once you set your project's development team,
// you'll have a unique bundle identifier. This is because the bundle identifier
// is derived based on the 'SAMPLE_CODE_DISAMBIGUATOR' value.
SAMPLE_CODE_DISAMBIGUATOR=${DEVELOPMENT_TEAM}

PISTATS_APPGROUP_ID=group.dev.bunn.PiStatsMobile${DEVELOPMENT_TEAM}
2 changes: 2 additions & 0 deletions PiStatsMobile/IntentHandler/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).IntentHandler</string>
</dict>
<key>PiStatsAppGroupID</key>
<string>$(PISTATS_APPGROUP_ID)</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion PiStatsMobile/IntentHandler/IntentHandler.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.dev.bunn.PiStatsMobile</string>
<string>$(PISTATS_APPGROUP_ID)</string>
</array>
</dict>
</plist>
Loading

0 comments on commit fe5f096

Please sign in to comment.