All Projects → bannzai → xcp

bannzai / xcp

Licence: MIT license
Xcode utility for reading and writing pbxproj file format.

Programming Languages

swift
15916 projects

xcp

xcp is Xcode utility for reading and writing project.pbxproj file format.

Usage

let pbxPath = projectFilePath + "project.pbxproj"
let xcodeprojectFileUrl = URL(fileURLWithPath: pbxPath)

// Read pbxproj when create XCProject instance
let project = try XCProject(for: xcodeprojectFileUrl)

// Append for PBX Object with
// project root direcotry path,
// will append file path relative for project root directory path,
// will append project target name.
...
project.appendFilePath(
    with: projectRootPath,
    filePath: filePath,
    targetName: targetName
)
...

// Write in pbxproj.
// If you added the PBX Object it will be reflected
try project.write()

Used in

Kuri

Kuri is code generate for iOS CleanArchitecture.

License

xcp is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].