Mercurial > xcodescriptingbridge
changeset 6:7a0e6eeedd92
Style fixes
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Mon, 08 Aug 2011 19:32:30 -0700 |
parents | b8c22903ebc1 |
children | 78830332a3be |
files | ScriptingBridge_Xcode.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ScriptingBridge_Xcode.lua Mon Aug 08 19:23:35 2011 -0700 +++ b/ScriptingBridge_Xcode.lua Mon Aug 08 19:32:30 2011 -0700 @@ -38,7 +38,7 @@ -- so use a numeric for local file_to_open = arg[1] or "MySampleProject.xcodeproj" local url_to_open = GetURLFromFileAndPath(file_to_open) - local xcode_document = xcode_application:open(url_to_open) + local xcode_document = xcode_application:open_(url_to_open) local simulator_or_device = arg[2] or "os" @@ -76,11 +76,11 @@ if "simulator" == simulator_or_device then local sdk = string.gsub(active_sdk, "os", "simulator") print("sdk", sdk) - xcode_project:setActiveSDK(sdk) + xcode_project:setActiveSDK_(sdk) else local sdk = string.gsub(active_sdk, "simulator", "os") print("sdk", sdk) - xcode_project:setActiveSDK(sdk) + xcode_project:setActiveSDK_(sdk) end print("changed activeSDK", xcode_project:activeSDK()) end