Skip to content

Swift library for reading and writing Xcode project files in OpenStep format

License

Notifications You must be signed in to change notification settings

LootApp/Xcode.swift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xcode.swift


Reading and writing the the Xcode pbxproj file format, from Swift!

The main goal of this project is to generate project.pbxproj files in the legacy OpenStep format used by Xcode. Using this, a project file can be modified without changing it to XML format and causing a huge git diff.

Currently, this project is mostly used to support R.swift.

Usage

This reads a xcodeproj file (possibly in XML format), and writes it back out in OpenStep format:

let xcodeproj = NSURL(fileURLWithPath: "Test.xcodeproj")

let proj = try! XCProjectFile(xcodeprojURL: xcodeproj)

try! proj.writeToXcodeproj(xcodeprojURL: xcodeproj, format: NSPropertyListFormat.OpenStepFormat)

Releases

  • 0.2.1 - 2015-12-30 - Add missing PBXProxyReference class
  • 0.2.0 - 2015-10-29 - Adds serialization support
  • 0.1.0 - 2015-09-28 - Initial public release

Licence & Credits

Xcode.swift is written by Tom Lokhorst and available under the MIT license, so feel free to use it in commercial and non-commercial projects.

About

Swift library for reading and writing Xcode project files in OpenStep format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 97.9%
  • Objective-C 2.1%