Change #ifdef to #if check as the mac headers define TARGET_OS_IPHONE as 0
Add macosx to the supported platforms list
Fix integer formatting on a 64 bit platform
Fix wrong method name
Merge remote-tracking branch 'origin/macos-bugfix' into develop
Add PUT request method