An Xcode Source Editor Extension that helps navigating to many places easier

Overview

XcodeWay

❤️ Support my apps ❤️

❤️ ❤️ 😇 😍 🤘 ❤️ ❤️

Description

Features

  • Go To Project Folder: Open the selected Xcode project folder in Finder
  • Go To iTerm: Open the selected Xcode project folder in iTerm
  • Go To DerivedData Folder: Check and open relative DerivedData if any, otherwise open global DerivedData
  • Open GitHub: Check and open git remote in your default browser
  • Open Current File in Github: Open the current file in GitHub
  • Go To Provisioning Profiles Folder: Open in Finder
  • Go To Themes Folder: Open in Finder
  • Go To Archives Folder: Open in Finder
  • Go To DeviceSupport Folder: Open in Finder
  • Go To CodeSnippets Folder: Open in Finder
  • Go To Document Folder: Go to current app Document folder for current simulator

Extensible

Although all common scenarios are covered, there's some more that you want to navigate to. Then just add your own by conforming to Navigator. Pull requests are welcome.

protocol Navigator {
  func navigate()
  var title: String { get }
}

How to install

curl -fsSL https://raw.githubusercontent.com/onmyway133/XcodeWay/master/install.sh | sh

Troubleshooting

  • Stop com.apple.dt.Xcode.AttachToXPCService
  • Run sudo /usr/libexec/xpccachectl and restart Mac
  • It only works when a Swift file is selected
  • If the menu is disappeared or disabled, run again

Credit

Licence

This project is released under the MIT license. See LICENSE.md.

Comments
  • Remove hard-coded local path

    Remove hard-coded local path

    The current version on master references /Users/khoa in the extension's Copy Applescript phase. Changing this to ${HOME} will let it run on other machines.

    opened by jsorge 1
  • Xcode 8.

    Xcode 8. "No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, existing" error

    Hello. I try to run your project from Xcode but it is got terminated immediately due to this error in xcode:

    Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file

    Could you fix this, please? Due to this error extension is not get install correctly. No new menu Item showed and after I enable this extension Xcode starts working very slow.

    opened by NikolayShubenkovProgSchool 1
  • Support Xcode 6 simulator document location

    Support Xcode 6 simulator document location

    Xcode 6 moved document location for simulator from old ~/Library/Application Support/IPhone Simulator/ to /Users/{YOUR NAME}/Library/Developer/CoreSimulator/Devices/{DEVICE ID}/data/Containers/Data/Application/{APPLICATION ID}/

    Check http://stackoverflow.com/a/26014275.

    opened by veiz 1
  • Refactor opening iTerm

    Refactor opening iTerm

    This PR refactors opening iTerm from Xcode. I had problems opening iTerm2 because it couldn’t find the binary that is was pointing to. Also, when I changed it to point to the new one, it always opened a new instance of iTerm which is not typically what you want.

    This is now fixed by refactoring FTGiTermNavigator.m

        if ([[NSWorkspace sharedWorkspace] launchApplication:@"iTerm"] == NO) {
            [NSAlert ftg_showMessage:@"Could not launch iTerm"];
        }
    

    So instead of opening the binary file for the app, it uses the shared workspace which would either open iTerm if it isn’t open or bring it to front if it is.

    Hope you like it

    opened by zenangst 0
  • not working since Xcode 12.2

    not working since Xcode 12.2

    hi @onmyway133

    https://developer.apple.com/forums/thread/666434 since Xcode 12.2 (and BigSur?), must explicitly link / embed & sign the XcodeKit framework to work.

    opened by r-plus 0
  •  Showing All Messages :-1: cp: /Users/khoa/Library/Application Scripts/com.fantageek.XcodeWayApp.XcodeWayExtensions: No such file or directory

    Showing All Messages :-1: cp: /Users/khoa/Library/Application Scripts/com.fantageek.XcodeWayApp.XcodeWayExtensions: No such file or directory

    Hello,

    I am getting the following error when trying to archive your Mac application target:

    :-1: cp: /Users/khoa/Library/Application Scripts/com.fantageek.XcodeWayApp.XcodeWayExtensions: No such file or directory

    Command PhaseScriptExecution failed with a nonzero exit code

    Any ideas on how to fix?

    opened by Signify 3
  • scriptPath is nil

    scriptPath is nil

    FileManager.default.url( for: .applicationScriptsDirectory, in: .userDomainMask, appropriateFor: nil, create: true ) You can't get a path like this. why?

    opened by roMummy 0
  • Terminal Support

    Terminal Support

    Hi,

    Is there any reason why Terminal support has been removed ? I've seen some files relating to opening Terminal in previous commits, but it seems deleted now.

    Thanks :)

    opened by AnthoPakPak 0
Releases(2.2.0)
Owner
Khoa
Check my apps https://onmyway133.com/apps
Khoa
Xcode Plugin helps you find missing methods in your class header, protocols, and super class, also makes fast inserting.

FastStub-Xcode Life is short, why waste it on meaningless typing? What is it? A code generating feature borrowed from Android Studio. FastStub automat

mrpeak 509 Jun 29, 2022
Enables easy, convenient asynchronous asset loading in RealityKit for many different kinds of assets.

RealityKit Asset Loading Discussion This package includes classes and examples that enable easy, convenient asynchronous asset loading in RealityKit f

Grant Jarvis 7 Dec 23, 2022
LinkedLog is a Xcode plugin that includes a Xcode PCH header file template that adds the macros `LLog` and `LLogF` and parses their output to link from the console to the corresponding file and line.

LinkedLog Xcode Plugin LinkedLog is a Xcode plugin that includes a Xcode PCH file template that adds the macros LLog and LLogF. The LLog macro will wo

Julian F. Weinert 22 Nov 14, 2022
macOS PropertyList Editor

PropertyListEditor About ... License Project is released under the terms of the MIT License. Repository Infos Owner: Jean-David Gadina - XS-L

JD Gadina 21 Jan 3, 2023
React Native Photo Editor (RNPE)

React Native Photo Editor (RNPE) ?? Image editor using native modules for iOS an

Suman Kamilya 9 Aug 16, 2022
RichTexture is a rich text editor for iOS.

RichTexture About RichTexture is a rich text editor for iOS. Running Open RichTexture.xcworkspace, change the bundle identifier to an identifier linke

Steve Moser 45 Dec 23, 2022
A Version Control Kit that allows Aurora Editor to do everything git related.

Version Control Kit AuroraEditor Version Control Kit allows us to perform actions like commiting, pulling, pushing and fetching history of whole files

Aurora Editor 6 Dec 15, 2022
RetroVisor helps you with inspecting UIViews in your unit tests.

RetroVisor RetroVisor helps you with inspecting UIViews in your unit tests. You do test views in unit tests, right? Right? Usually, I mark subview pro

Vid Tadel 2 Mar 29, 2022
MQTagged provides a Tagged structure which helps differentiating between values of the same type.

MQTagged provides a Tagged structure which helps differentiating between values of the same type.

Miquido 2 Jun 29, 2022
Runtime Mobile Security (RMS) 📱🔥 - is a powerful web interface that helps you to manipulate Android and iOS Apps at Runtime

Runtime Mobile Security (RMS) ?? ?? by @mobilesecurity_ Runtime Mobile Security (RMS), powered by FRIDA, is a powerful web interface that helps you to

Mobile Security 2k Dec 29, 2022
DataTaskPublisher extension that logs the request and response to the console

NetworkLogger Extension of Combine's DataTaskPublisher that logs the request and response to the console. Usage URLSession.shared.dataTaskPublisher(fo

Lukáš Hromadník 5 Dec 26, 2021
iOS Safari extension for forwarding away from AMP websites

iOS Safari extension for forwarding away from AMP websites

Eric Jacobsen 0 Oct 12, 2022
An iOS app/Safari extension to automagically redirect AMP links to their normal counterpart. Comes with a trusty dog.

Amplosion ⚡️ Amplosion is an iOS 15 and greater app that automagically redirects AMP links to their normal counterpart. AMP links can be super annoyin

Michael Pauley 31 Nov 20, 2022
A Hello World safari iOS extension

Hello_world_extension This is a Hello World chrome/ios_safari extension. How it works: When we click on the extension, it pop up a textarea prompt. In

Monika Kumari 0 Nov 18, 2021
Stay - a local userscript manager and an extension sample for Safari on iOS/iPadOS

Stay - a local userscript manager and an extension sample for Safari on iOS/iPadOS

shen yin 688 Dec 28, 2022
An example implementation of using a native iOS Notification Service Extension (to display images in remote push notification) in Titanium.

Titanium iOS Notification Service Extension An example implementation of using a native iOS Notification Service Extension (to display images in remot

Hans Knöchel 8 Nov 21, 2022
🧸 Xcode Playground management made easy

Toybox Toybox made easy to manage Xcode Playgrounds. You can create and open Xcode Playground from CLI. $ toybox create Snippet # Generate ~/.toybox/S

Kohki Miki 130 Nov 8, 2022
🚀 Create, maintain, and interact with Xcode projects at scale

What's Tuist ?? Tuist is a command line tool that helps you generate, maintain and interact with Xcode projects. It's open source and written in Swift

Tuist 3.1k Jan 6, 2023
A Swift command line tool for generating your Xcode project

XcodeGen XcodeGen is a command line tool written in Swift that generates your Xcode project using your folder structure and a project spec. The projec

Yonas Kolb 5.9k Jan 9, 2023