Skip to content

Force Xcode to re-save a project from command line

License

Notifications You must be signed in to change notification settings

cezheng/xc-resave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xc-resave

A minimum executable to make Xcode resave a xcodeproj.

Why?

When we use XcodeEditor to modify a xcodeproj, the project is serialized in XML format property list, which generates a big git diff.

In this case we can manually modify the Xcode project in Xcode.app then manually undo the modification to make Xcode re-save the project file, then most of the diff will disappear.

This project is just to do that for you, forcing Xcode to re-save the project.

Build

$ make

Run

$ ./xc-resave /path/to/project.xcodeproj

Credits

This project is inspired by xcproj.

License

xc-resave is released under the MIT license. See LICENSE for details.

About

Force Xcode to re-save a project from command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published