lib/cocoapods-rome/post_install.rb in cocoapods-rome-0.0.3 vs lib/cocoapods-rome/post_install.rb in cocoapods-rome-0.0.4

- old
+ new

@@ -9,14 +9,14 @@ build_dir.rmtree if build_dir.directory? Dir.chdir(sandbox.project_path.dirname) do targets = installer_context.umbrella_targets.select { |t| t.specs.any? }.map(&:cocoapods_target_label) targets.each do |target| - Pod::Executable.execute_command 'xcodebuild', %(-project #{sandbox.project_path.basename} -scheme #{target} -configuration Release), true + Pod::Executable.execute_command 'xcodebuild', %W(-project #{sandbox.project_path.basename} -scheme #{target} -configuration Release), true end end - raise Pod::Informative 'The build directory was not found in the expected location.' unless build_dir.directory? + raise Pod::Informative, 'The build directory was not found in the expected location.' unless build_dir.directory? frameworks = Pathname.glob(build_dir + 'Release*/Pods*/*.framework') frameworks_by_target = frameworks.group_by { |f| f.to_s =~ %r{build/Release[^/]*/Pods-?([^/]*)/} && destination + $1 } Pod::UI.puts "Built #{frameworks.count} #{'frameworks'.pluralize(frameworks.count)}"