Sha256: 5dfd3c3f7c4a982c1e936b011ef6d1ef9a035a75101375e5bdeedaf7f906c360

Contents?: true

Size: 656 Bytes

Versions: 1

Compression:

Stored size: 656 Bytes

Contents

module Pod
  class XBuilder
    module XcodeXBuilder
      def xcode_xbuild(defines, configuration, work_dir, build_dir = 'export')
        if defined?(Pod::DONT_CODESIGN)
          args = "#{args} CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO"
        end
        pwd = Pathname.pwd
        Dir.chdir work_dir
        command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -alltargets 2>&1"
        outputs = `#{command}`.lines.to_s
        Dir.chdir pwd
        if $?.exitstatus != 0
          UI.puts output
          Process.exit
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cocoapods-xcframework-0.0.4 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb