lib/xcjobs/xcodebuild.rb in xcjobs-0.2.0 vs lib/xcjobs/xcodebuild.rb in xcjobs-0.2.1

- old
+ new

@@ -173,10 +173,10 @@ object_file_dir_normal = out.lines.grep(/\bOBJECT_FILE_DIR_normal\b/).first.split('=').last.strip current_arch = out.lines.grep(/\bCURRENT_ARCH\b/).first.split('=').last.strip executable_name = out.lines.grep(/\bEXECUTABLE_NAME\b/).first.split('=').last.strip executable_path = out.lines.grep(/\bEXECUTABLE_PATH\b/).first.split('=').last.strip - if sdk.start_with 'iphone' + if sdk.start_with? 'iphone' target_path = File.join(File.join(object_file_dir_normal, current_arch), executable_name) elsif sdk == 'macosx' target_path = File.join(configuration_build_dir, executable_path) end