• Stars
    star
    317
  • Rank 127,695 (Top 3 %)
  • Language
    Objective-C
  • Created over 13 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Command line tool for manipulating Xcode project files

About

xcproj is a command line tool for manipulating Xcode project files. It doesn’t do much yet. It also serves as a testbed for XCDUndocumentedChecker.

Requirements

xcproj works with Xcode 5 and 6. Xcode 4 support has been discontinued.

Installation

Homebrew

brew install xcproj

Manually

To install the xcproj tool in /usr/local/bin run the following command, with sudo if required:

xcodebuild -target xcproj install DSTROOT=/

If you want to install xcproj in a custom location, e.g. ~/bin, run the following command:

xcodebuild -target xcproj install DSTROOT=/ INSTALL_PATH=~/bin

Usage

xcproj [options] <action> [arguments]

Options:
 -h, --help        Show this help text and exit
 -V, --version     Show program version and exit
 -p, --project     Path to an Xcode project (*.xcodeproj file). If not specified, the project in the current working directory is used 
 -t, --target      Name of the target. If not specified, the first target is used

Actions:
 * list-targets
     List all the targets in the project

 * list-headers [All|Public|Project|Private] (default=Public)
     List headers from the `Copy Headers` build phase

 * read-build-setting <build_setting>
     Evaluate a build setting and print its value. If the build setting does not exist, nothing is printed

 * write-build-setting <build_setting> <value>
     Assign a value to a build setting. If the build setting does not exist, it is added to the target

 * add-xcconfig <xcconfig_path>
     Add an xcconfig file to the project and base all configurations on it

 * add-resources-bundle <bundle_path>
     Add a bundle to the project and in the `Copy Bundle Resources` build phase

 * touch
     Rewrite the project file

Limitations

  • xcproj relies on the DevToolsCore private framework. Although great care has been taken, it might stop working when you upgrade Xcode.

Contact

Cédric Luthi

More Repositories

1

XCDYouTubeKit

YouTube video player for iOS, tvOS and macOS
Objective-C
2,901
star
2

iOS-Artwork-Extractor

Extract iOS artwork and emoji symbols into png files, generate glossy buttons png files
Objective-C
2,615
star
3

XCDFormInputAccessoryView

Input accessory view with previous, next and done buttons
Objective-C
238
star
4

FontReplacer

Easily create nibs with custom fonts
Objective-C
229
star
5

NSUUID

NSUUID implementation for iOS < 6.0 and OS X < 10.8
Objective-C
157
star
6

ABGetMe

ABGetMe implementation for iOS using undocumented APIs (safely)
Objective-C
145
star
7

XCDLumberjackNSLogger

CocoaLumberjack logger which sends logs to NSLogger
Objective-C
96
star
8

MPMoviePlayerController-XCDOverlayView

Overlay view synchronized with playback controls for MPMoviePlayerController
Objective-C
93
star
9

CLITool-InfoPlist

Xcode plugin to process Info.plist file for CLI Tool targets
Objective-C
53
star
10

Stealth-Messenger

Send email, SMS or tweet without any user interaction on iOS
Objective-C
45
star
11

otx

Mach-O disassembler
Objective-C
34
star
12

CLURLConnection

NSURLConnection done right
Objective-C
34
star
13

fulldescription

Recursively print instance variables of an Objective-C object.
Objective-C
30
star
14

SpotColor

Spot Color is a wrapper around the built-in Mac OS X color picker so you can use it as a stand alone app
Objective-C
27
star
15

quietxcode

Silences the "malloc: free_garbage: garbage ptr ..." Xcode warnings
Objective-C
15
star
16

pdfrasterize

Command line tool for converting PDF documents to various bitmap formats
Objective-C
13
star
17

NoLastUpgradeCheck

Xcode 4 plugin that prevents LastUpgradeCheck attribute alteration
Objective-C
13
star
18

otx-bblm

BBEdit/TextWrangler language module for otx disassemblies
C
12
star
19

crippng

QuickLook plugin to read crippled iPhone png files
C
12
star
20

Twexpand

SIMBL plugin for displaying full URLs in your favorite Twitter client
Objective-C
11
star
21

APELite-arm

Implementation of the APE Lite API for iPhone OS (ARM) using MobileSubstrate
C++
9
star
22

DocZoom

Usable Xcode documentation Pinch-to-Zoom
Objective-C
4
star
23

SingleFileAppDependencyContext

Experiments with single-file applications and Microsoft.Extensions.DependencyModel
C#
2
star
24

DbContextValidation

DbContext validation against an actual database
C#
2
star
25

iCalColors

SIMBL Plugin that allows you to customize today and selected day colors
Objective-C
1
star
26

RidGraph

Generate visualizable .NET runtime identifier graphs
C#
1
star
27

KeychainCredentials

Implementation of the System.Net.ICredentials interface using the macOS Keychain for .NET
C#
1
star
28

radars

Sample code for bugs submitted to bugreport.apple.com
Objective-C
1
star