Skip to content

Instantly share code, notes, and snippets.

View PMUNOZ08's full-sized avatar

Pedro Muñoz Cabrera PMUNOZ08

View GitHub Profile
@PMUNOZ08
PMUNOZ08 / current_selected_installed_xcode.md
Created February 27, 2025 06:39 — forked from dive/current_selected_installed_xcode.md
How to get the current selected Xcode and list installed

How to get the current selected Xcode and list installed

Current Selected Xcode

xcode-select

This is the most common way to get the path to the selected instance:

xcrun xcode-select --print-path
#import <Foundation/Foundation.h>
@interface NSObject (NSDictionaryRepresentation)
/**
Returns an NSDictionary containing the properties of an object that are not nil.
*/
- (NSDictionary *)dictionaryRepresentation;
@end