Skip to content

Instantly share code, notes, and snippets.

@swiftcafex
Last active December 9, 2017 03:58
Show Gist options
  • Save swiftcafex/9af7428b1b72ddcaeaa25bdb33159811 to your computer and use it in GitHub Desktop.
Save swiftcafex/9af7428b1b72ddcaeaa25bdb33159811 to your computer and use it in GitHub Desktop.
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