# HG changeset patch # User Eric Wing # Date 1312857150 25200 # Node ID 7a0e6eeedd9230502ec687c9b4838d21b62c70f9 # Parent b8c22903ebc1792464a3d95c4e6cb1a0b89e2a23 Style fixes diff -r b8c22903ebc1 -r 7a0e6eeedd92 ScriptingBridge_Xcode.lua --- 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