Create a gist now

Instantly share code, notes, and snippets.

Sublime 配置为 iOS 编译工具
// 完整教程请参看 http://swiftcafe.io/2016/10/24/sublime-build-ios/
{
"folders": [
{
"follow_symlinks": true,
"path": "."
}
],
"build_systems": [
{
"name": "Build",
"cmd": [ "xcodebuild",
"-project", "$project_path/$project_base_name.xcodeproj",
"-configuration", "Debug",
"-scheme", "sublimeBuild",
"SYMROOT=$project_path/build/Products/Debug",
"OBJROOT=$project_path/build"
],
"variants": [
{
"name": "Run",
"shell_cmd": "ios-deploy --debug --bundle $project_path/build/Products/Debug/Debug-iphoneos/$project_base_name.app"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment