Mercurial > xcodescriptingbridge
diff ScriptingBridge_Xcode.lua @ 8:78830332a3be tip
Merged
author | Eric Wing <ewing@anscamobile.com> |
---|---|
date | Thu, 11 Aug 2011 15:46:13 -0700 |
parents | 7a0e6eeedd92 |
children |
line wrap: on
line diff
--- a/ScriptingBridge_Xcode.lua Thu Aug 11 15:44:58 2011 -0700 +++ b/ScriptingBridge_Xcode.lua Thu Aug 11 15:46:13 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