Easy way to remove CocoaPods from your Xcode project. gem install cocoapods-deintegrate pod deintegrate gem install cocoapods-clean pod clean  Then install again: pod setup open -a Xcode Podfile  Uncomment following lines and add libraries to install: # Uncomment this line to define a global platform for your project platform :ios, ‘8.0’ # Uncomment this line

Here is a good example how to call pycurl.   It expects the proxy to be in format socks://ip:port, and will default to port 8888 if you just pass it the proxy hostname.     import cStringIO import pycurl import sys,traceback def GetPage(url, proxy=None): if proxy: port = 8888 proxy = proxy.replace(“socks://”, “”) if “:”