RPFX is a Discord Rich Presence client for Xcode that lets you share what you're programming on your Discord status.
RPFX will display the current file you're working on, as well as your workspace.
In addition, it will also show file icons for the following file types:
.swift
.playground
.storyboard
.xcodeproj
.h
.m
.cpp
.c
If you wish, you can tweak RPFX to use your own Discord application if you want to add custom functionality, such as more file icons.
RPFX uses my fork of Azoy's SwordRPC.
- macOS Big Sur (11.0)
- Xcode and Discord installed (otherwise this program isn't very useful)
When you first start up RPFX, it will prompt you for permission to control Xcode. We don't actually need to control Xcode, but we need that permission to execute AppleScript to get information on Xcode.
You can verify that RPFX has permissions by opening System Preferences and looking in Security & Privacy under Privacy, then Automation.
That's it, you're done - RPFX will now automatically monitor Xcode.
If you like, you can set RPFX to automatically open on login.