Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Xcode Discord Integration works with Xcode 13 and has all the latest icons.

License

NotificationsYou must be signed in to change notification settings

AsadAzam/DiscordX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release (latest by date)

GitHubGitHubGitHubGitHubGitHubGitHub All Releases

New Features

  1. Added a simple Status Bar Menu to start, stop or close the App.

TODOs

  1. Keep a log file for time spent on every file

DiscordX adds support for Xcode on Discord, AKA Discord Rich Presence.

DiscordX displays the current file you are working on and the current workspace in use. It uses the same icons which exist in Xcode 12.0.1 (12A7300)

DIscordX adds support for the current application in use too. Other applications do the exact same thing, but none of them I used supported applications or such a wide variety of file types. Also, none of them are updated for Xcode 13.

The following file type extensions are supported:

  • .swift
  • .playground
  • .storyboard
  • .xcodeproj
  • .h
  • .m
  • .cpp
  • .c
  • .sdef
  • .plist
  • .md
  • .appex
  • .rcproject
  • .rtf
  • .rtfd
  • .pch
  • .mm
  • .xcassets
  • .iig
  • .metal
  • .xib
  • .arobject
  • .entitlements

The following applications are supported:

  • Simulator
  • Instruments
  • Accessibility Inspector
  • FileMerge
  • Create ML
  • RealityComposer

Dependencies

If you are modifying/ tweaking the application, make sure you change theTeam underSigning & Capabilities.

DiscordX usesPKBeam's Fork ofAzoy's SwordRPC.

System Requirements

  • macOS Big Sur (11) (Minimum)
  • Xcode installed

Usage

  1. Download the project, and open it on Xcode.
  2. Go to Signing & Capabilities, chooseTeam and SelectSign to Run Locally in Signing Certificate.
  3. Build and Run the App.
  4. (Optional) Go to Products under the Navigator, right-click on DiscordX.app, and click onShow in Finder. Copy/Cut - Paste in the Applications folder, and it should be easier to launch next time.

After running it, it will ask for two permissions; one is for controlling Xcode, and the other is for System Events. As the app uses Apple script to perform any operation, it would need access to whatever the script will run on.

Configurable

  • You can set the refresh interval of rich presence (by default, it refreshes every 5 seconds) [Note: When strict mode is enabled, it will refresh immediately when switching to and from Xcode]
  • Strict Mode (Timer will only keep the time you were active on Xcode)
  • Flaunt Mode (Timer will not stop on Sleep and Wakeup of MacOS)

List of Apple Scripts run:

tell application "Xcode"  return name of windowsend tell
tell application "Xcode"  return file of documentsend tell
tell application "Xcode"  return name of documentsend tell
tell application "Xcode"  return active workspace documentend tell
tell application "System Events"  get the name of every application process whose frontmost is trueend tell
tell application (path to frontmost application as Unicode text)  if name is "Xcode" then    get version  end ifend tell

You can verify what permissions DiscordX uses by opening System Preferences and looking in Security & Privacy under Privacy, then Automation.That's it, you're done - DiscordX will now automatically monitor Xcode.

If you like, you can set DiscordX to automatically open on login.

Note

DiscordX is a fork ofRPFX. I didn't contribute to the original as I didn't like the name RPFX.

About

Xcode Discord Integration works with Xcode 13 and has all the latest icons.

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp