Last active
December 9, 2017 03:58
-
-
Save swiftcafex/9af7428b1b72ddcaeaa25bdb33159811 to your computer and use it in GitHub Desktop.
Sublime 配置为 iOS 编译工具
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 完整教程请参看 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