A command line tool for managing Swift Playground projects on your Mac.
$ playground-tools generate-xcodeproj ./MyApp.swiftpm ./MyProject
Generates an .xcodeproj file of the Swift Playground App "MyApp.swiftpm" thanks to XcodeGen.
A command line tool for managing Swift Playground projects on your Mac.
$ playground-tools generate-xcodeproj ./MyApp.swiftpm ./MyProject
Generates an .xcodeproj file of the Swift Playground App "MyApp.swiftpm" thanks to XcodeGen.
{
"name": "PlaygroundTools",
"path": "/usr/src/package",
"targets": [
{
"name": "PlaygroundToolsTests",
"path": "Tests/PlaygroundToolsTests",
"type": "test",
"c99name": "PlaygroundToolsTests",
"sources": [
"GeneratorTests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"PlaygroundTools"
]
},
{
"name": "PlaygroundToolsKit",
"path": "Sources/PlaygroundToolsKit",
"type": "library",
"c99name": "PlaygroundToolsKit",
"sources": [
"Package.swift",
"PackageLoaders/HackyV4PackageLoader.swift",
"StringError.swift",
"SwiftPlaygroundApp.swift",
"XcodeProject.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"playground-tools"
],
"product_dependencies": [
"XcodeGenKit",
"ProjectSpec",
"PathKit"
]
},
{
"name": "PlaygroundTools",
"path": "Sources/PlaygroundTools",
"type": "executable",
"c99name": "PlaygroundTools",
"sources": [
"PlaygroundTools.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"playground-tools"
],
"target_dependencies": [
"PlaygroundToolsKit"
],
"product_dependencies": [
"ArgumentParser",
"PathKit"
]
}
],
"products": [
{
"name": "playground-tools",
"type": {
"executable": null
},
"targets": [
"PlaygroundTools"
]
}
],
"platforms": [
{
"name": "macos",
"version": "11.0"
}
],
"dependencies": [
{
"url": "https://github.com/apple/swift-argument-parser.git",
"type": "sourceControl",
"identity": "swift-argument-parser",
"requirement": {
"range": [
{
"lower_bound": "1.0.0",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/kylef/PathKit.git",
"type": "sourceControl",
"identity": "pathkit",
"requirement": {
"range": [
{
"lower_bound": "1.0.0",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/yonaskolb/XcodeGen.git",
"type": "sourceControl",
"identity": "xcodegen",
"requirement": {
"range": [
{
"lower_bound": "2.0.0",
"upper_bound": "3.0.0"
}
]
}
}
],
"tools_version": "5.5",
"manifest_display_name": "PlaygroundTools"
}
{
"name": "PlaygroundTools",
"traits": [],
"targets": [
{
"name": "PlaygroundTools",
"type": "executable",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"PlaygroundToolsKit",
null
]
},
{
"product": [
"ArgumentParser",
"swift-argument-parser",
null,
null
]
},
{
"byName": [
"PathKit",
null
]
}
],
"packageAccess": false
},
{
"name": "PlaygroundToolsKit",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"product": [
"XcodeGenKit",
"XcodeGen",
null,
null
]
},
{
"product": [
"ProjectSpec",
"XcodeGen",
null,
null
]
},
{
"byName": [
"PathKit",
null
]
}
],
"packageAccess": false
},
{
"name": "PlaygroundToolsTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"PlaygroundTools",
null
]
}
],
"packageAccess": false
}
],
"products": [
{
"name": "playground-tools",
"type": {
"executable": null
},
"targets": [
"PlaygroundTools"
]
}
],
"pkgConfig": null,
"platforms": [
{
"options": [],
"version": "11.0",
"platformName": "macos"
}
],
"providers": null,
"packageKind": {
"root": [
"/usr/src/package"
]
},
"dependencies": [
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-argument-parser",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-argument-parser.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.0.0",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "pathkit",
"location": {
"remote": [
{
"urlString": "https://github.com/kylef/PathKit.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.0.0",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "xcodegen",
"location": {
"remote": [
{
"urlString": "https://github.com/yonaskolb/XcodeGen.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "2.0.0",
"upperBound": "3.0.0"
}
]
},
"productFilter": null
}
]
}
],
"toolsVersion": {
"_version": "5.5.0"
},
"cLanguageStandard": null,
"cxxLanguageStandard": null,
"swiftLanguageVersions": null
}
{
"url": "/usr/src/package",
"name": "PlaygroundTools",
"path": "/usr/src/package",
"version": "unspecified",
"identity": "package",
"dependencies": [
{
"url": "https://github.com/apple/swift-argument-parser.git",
"name": "swift-argument-parser",
"path": "/usr/src/package/.build/checkouts/swift-argument-parser",
"version": "1.0.2",
"identity": "swift-argument-parser",
"dependencies": []
},
{
"url": "https://github.com/kylef/PathKit.git",
"name": "PathKit",
"path": "/usr/src/package/.build/checkouts/PathKit",
"version": "1.0.1",
"identity": "pathkit",
"dependencies": [
{
"url": "https://github.com/kylef/Spectre.git",
"name": "Spectre",
"path": "/usr/src/package/.build/checkouts/Spectre",
"version": "0.10.1",
"identity": "spectre",
"dependencies": []
}
]
},
{
"url": "https://github.com/yonaskolb/XcodeGen.git",
"name": "XcodeGen",
"path": "/usr/src/package/.build/checkouts/XcodeGen",
"version": "2.25.0",
"identity": "xcodegen",
"dependencies": [
{
"url": "https://github.com/kylef/PathKit.git",
"name": "PathKit",
"path": "/usr/src/package/.build/checkouts/PathKit",
"version": "1.0.1",
"identity": "pathkit",
"dependencies": [
{
"url": "https://github.com/kylef/Spectre.git",
"name": "Spectre",
"path": "/usr/src/package/.build/checkouts/Spectre",
"version": "0.10.1",
"identity": "spectre",
"dependencies": []
}
]
},
{
"url": "https://github.com/jpsim/Yams.git",
"name": "Yams",
"path": "/usr/src/package/.build/checkouts/Yams",
"version": "4.0.6",
"identity": "yams",
"dependencies": []
},
{
"url": "https://github.com/yonaskolb/JSONUtilities.git",
"name": "JSONUtilities",
"path": "/usr/src/package/.build/checkouts/JSONUtilities",
"version": "4.2.0",
"identity": "jsonutilities",
"dependencies": []
},
{
"url": "https://github.com/kylef/Spectre.git",
"name": "Spectre",
"path": "/usr/src/package/.build/checkouts/Spectre",
"version": "0.10.1",
"identity": "spectre",
"dependencies": []
},
{
"url": "https://github.com/onevcat/Rainbow.git",
"name": "Rainbow",
"path": "/usr/src/package/.build/checkouts/Rainbow",
"version": "3.2.0",
"identity": "rainbow",
"dependencies": []
},
{
"url": "https://github.com/tuist/XcodeProj.git",
"name": "XcodeProj",
"path": "/usr/src/package/.build/checkouts/XcodeProj",
"version": "8.7.1",
"identity": "xcodeproj",
"dependencies": [
{
"url": "https://github.com/tadija/AEXML.git",
"name": "AEXML",
"path": "/usr/src/package/.build/checkouts/AEXML",
"version": "4.6.1",
"identity": "aexml",
"dependencies": []
},
{
"url": "https://github.com/kylef/PathKit.git",
"name": "PathKit",
"path": "/usr/src/package/.build/checkouts/PathKit",
"version": "1.0.1",
"identity": "pathkit",
"dependencies": [
{
"url": "https://github.com/kylef/Spectre.git",
"name": "Spectre",
"path": "/usr/src/package/.build/checkouts/Spectre",
"version": "0.10.1",
"identity": "spectre",
"dependencies": []
}
]
}
]
},
{
"url": "https://github.com/jakeheis/SwiftCLI.git",
"name": "SwiftCLI",
"path": "/usr/src/package/.build/checkouts/SwiftCLI",
"version": "6.0.3",
"identity": "swiftcli",
"dependencies": []
},
{
"url": "https://github.com/mxcl/Version",
"name": "Version",
"path": "/usr/src/package/.build/checkouts/Version",
"version": "2.0.1",
"identity": "version",
"dependencies": []
},
{
"url": "https://github.com/SwiftDocOrg/GraphViz.git",
"name": "GraphViz",
"path": "/usr/src/package/.build/checkouts/GraphViz",
"version": "0.2.0",
"identity": "graphviz",
"dependencies": []
}
]
}
]
}