Parse project file and write it to open step format.
Work also on simple plist in xml, binary or json format.
Plist files could be in binary, xml or open step format. All could be parsed natively using PropertyListSerialization
.
:warning: But you cannot be written back into open step format.
This project aim to
Alternatively you can use apple private framework DVTFoundation, like Xcodeproj do.
let xcodeProj = try XcodeProj(url: url)
let project: PBXProject = xcodeProj.project
let mainGroup: PBXGroup? = project.mainGroup
let targets: [PBXNativeTarget] = project.targets
let buildConfigurationList: XCConfigurationList? = project.buildConfigurationList
try xcodeProj.write(to: newURL, format: .openStep)
let package = Package(
name: "MyProject",
dependencies: ["
.package(url: "https://github.com/phimage/XcodeProjKit.git", from: "3.0.0"),
],
targets: [
.target(
name: "MyProject",
dependencies: ["XcodeProjKit"]),
]
)
Carthage is a decentralized dependency manager for Objective-C and Swift.
Add the project to your Cartfile.
github "phimage/XcodeProjKit"
Run carthage update and follow the additional steps in order to add MomXML to your project.
Add the project to your Podfile.
pod "XcodeProjKit"
link |
Stars: 14 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics