Sha256: 6bc8d20745fb2f14f6ff69fa4a69cf47bcf2174de0d5b84b0ce7d54ad7b8b5d4

Contents?: true

Size: 693 Bytes

Versions: 14

Compression:

Stored size: 693 Bytes

Contents

module Pod
  class XBuilder
    module XcodeXBuilder
      def xcode_xbuild(defines, configuration, work_dir, build_dir = 'export')
        if defined?(Pod::DONT_CODESIGN)
          defines = "#{defines} 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"
        output = `#{command}`.lines.to_a
        Dir.chdir pwd
        if $?.exitstatus != 0
          Pod::ErrorUtil.error_report command,output
          Process.exit -1
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
cocoapods-framework-tj-0.0.6 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-framework-tj-0.0.5 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-framework-tj-0.0.4 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-framework-tj-0.0.3 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-framework-tj-0.0.2 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-xcframework-0.2.4 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-xcframework-0.2.1 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-xcframework-0.2.0 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-xcframework-0.1.1 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-xcframework-0.1.0 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-xcframework-0.0.8 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-xcframework-0.0.7 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-xcframework-0.0.6 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb
cocoapods-xcframework-0.0.5 lib/cocoapods-framework/xbuilder/xcode_xbuild.rb