Skip to content

Instantly share code, notes, and snippets.

@insidegui
Created August 12, 2022 21:20
Show Gist options
  • Save insidegui/1275b0e81bb7b5a525368d55ecc96e2c to your computer and use it in GitHub Desktop.
Save insidegui/1275b0e81bb7b5a525368d55ecc96e2c to your computer and use it in GitHub Desktop.

Revisions

  1. insidegui created this gist Aug 12, 2022.
    4 changes: 4 additions & 0 deletions fix-homekit-entitlement.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    if [ "$EFFECTIVE_PLATFORM_NAME" = "-maccatalyst" ]; then
    echo "Adding com.apple.developer.homekit entitlement"
    /usr/libexec/PlistBuddy -c "Add :com.apple.developer.homekit bool true" "$TARGET_TEMP_DIR/$FULL_PRODUCT_NAME.xcent"
    fi