Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3d8d5d00a1
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (37 sloc) 1.698 kb
Pod::Spec.new do |s|
s.name = 'ASIHTTPRequest'
s.version = '1.8.1'
s.summary = 'Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone.'
s.homepage = 'http://allseeing-i.com/ASIHTTPRequest'
s.author = { 'Ben Copsey' => 'ben@allseeing-i.com' }
s.license = 'New BSD License'
s.source = { :git => 'https://github.com/pokeb/asi-http-request.git', :tag => 'v1.8.1' }
s.description = %{
ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that
makes some of the more tedious aspects of communicating with web servers
easier. It is written in Objective-C and works in both Mac OS X and iPhone
applications.
It is suitable performing basic HTTP requests and interacting with
REST-based services (GET / POST / PUT / DELETE). The included
ASIFormDataRequest subclass makes it easy to submit POST data and files
using multipart/form-data.
}
s.ios.dependency 'Reachability' #, '~> 2.0', '>= 2.0.4'
s.ios.source_files = 'Classes'
s.ios.frameworks = 'MobileCoreServices', 'CFNetwork', 'CoreGraphics'
s.osx.source_files = FileList['Classes/*.*'].exclude(/ASIAuthenticationDialog/)
s.osx.frameworks = 'SystemConfiguration', 'CoreServices'
s.library = 'z.1'
s.compiler_flags = '-Wno-format', '-Wno-format-extra-args'
s.subspec 'ASIWebPageRequest' do |ws|
ws.source_files = 'Classes/ASIWebPageRequest/'
ws.library = 'xml2.2'
ws.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
end
s.subspec 'CloudFiles' do |cfs|
cfs.source_files = 'Classes/CloudFiles/'
end
s.subspec 'S3' do |s3s|
s3s.source_files = 'Classes/S3/'
end
end
Jump to Line
Something went wrong with that request. Please try again.