Code Monkey home page Code Monkey logo

afnetworking-synchronous's People

Contributors

paulmelnikow avatar reden87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

afnetworking-synchronous's Issues

Publishing 1.2.0 in Cocoapods

I'm getting this error when I run pod trunk lint AFNetworking-Synchronous.podspec and get stuck in the same place when I try to publish to trunk.

Validating podspec
 -> AFNetworking-Synchronous (1.2.0)
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  note: Using new build system
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  note: Building targets in parallel
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  note: Using codesigning identity override: -
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  note: Planning build
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  note: Constructing build description
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'App' from project 'App')
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'AFNetworking-Synchronous' from project 'Pods')
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'AFNetworking' from project 'Pods')
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  warning: MobileCoreServices has been renamed. Use CoreServices instead. (in target 'AFNetworking' from project 'Pods')
    - NOTE  | [AFNetworking-Synchronous/3.x, AFNetworking-Synchronous/2.x, AFNetworking-Synchronous/1.x, and more...] xcodebuild:  note: Using codesigning identity override:
    - ERROR | [iOS] [AFNetworking-Synchronous/4.x] unknown: Encountered an unknown error (CocoaPods could not find compatible versions for pod "AFNetworking":
  In Podfile:
    AFNetworking-Synchronous/4.x (from `/Users/pnm/code/AFNetworking-Synchronous/AFNetworking-Synchronous.podspec`) was resolved to 1.2.0, which depends on
      AFNetworking (~> 4.0)

Specs satisfying the `AFNetworking (~> 4.0)` dependency were found, but they required a higher minimum deployment target.) during validation.
    - NOTE  | [OSX] [AFNetworking-Synchronous/2.x] xcodebuild:  warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.8, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'App' from project 'App')
    - NOTE  | [OSX] [AFNetworking-Synchronous/2.x] xcodebuild:  warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.8, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'Pods-App' from project 'Pods')
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:99:41: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:119:12: note: 'NSURLSession' has been marked as being introduced in macOS 10.9 here, but the deployment target is macOS 10.8.0
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:94:12: note: annotate 'AFURLSessionManager' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:201:47: warning: 'NSURLSessionConfiguration' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:674:12: note: 'NSURLSessionConfiguration' has been marked as being introduced in macOS 10.9 here, but the deployment target is macOS 10.8.0
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:201:1: note: annotate 'initWithSessionConfiguration:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:220:4: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:404:12: note: 'NSURLSessionDataTask' has been marked as being introduced in macOS 10.9 here, but the deployment target is macOS 10.8.0
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:220:1: note: annotate 'dataTaskWithRequest:completionHandler:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:237:4: warning: 'NSURLSessionUploadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:418:12: note: 'NSURLSessionUploadTask' has been marked as being introduced in macOS 10.9 here, but the deployment target is macOS 10.8.0
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:237:1: note: annotate 'uploadTaskWithRequest:fromFile:progress:completionHandler:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:239:52: warning: 'NSProgress' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h:37:12: note: 'NSProgress' has been marked as being introduced in macOS 10.9 here, but the deployment target is macOS 10.8.0
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:250:4: warning: 'NSURLSessionUploadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:250:1: note: annotate 'uploadTaskWithRequest:fromData:progress:completionHandler:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:252:52: warning: 'NSProgress' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:262:4: warning: 'NSURLSessionUploadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:262:1: note: annotate 'uploadTaskWithStreamedRequest:progress:completionHandler:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:263:60: warning: 'NSProgress' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:280:4: warning: 'NSURLSessionDownloadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:430:12: note: 'NSURLSessionDownloadTask' has been marked as being introduced in macOS 10.9 here, but the deployment target is macOS 10.8.0
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:280:1: note: annotate 'downloadTaskWithRequest:progress:destination:completionHandler:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:281:56: warning: 'NSProgress' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:293:4: warning: 'NSURLSessionDownloadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:293:1: note: annotate 'downloadTaskWithResumeData:progress:destination:completionHandler:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:294:59: warning: 'NSProgress' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:309:4: warning: 'NSProgress' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:309:1: note: annotate 'uploadProgressForTask:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:309:40: warning: 'NSURLSessionUploadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:318:4: warning: 'NSProgress' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:318:1: note: annotate 'downloadProgressForTask:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:318:42: warning: 'NSURLSessionDownloadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:329:51: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:329:1: note: annotate 'setSessionDidBecomeInvalidBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:336:59: warning: 'NSURLSessionAuthChallengeDisposition' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:813:28: note: 'NSURLSessionAuthChallengeDisposition' has been marked as being introduced in macOS 10.9 here, but the deployment target is macOS 10.8.0
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:336:1: note: annotate 'setSessionDidReceiveAuthenticationChallengeBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:336:100: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:347:60: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:347:1: note: annotate 'setTaskNeedNewBodyStreamBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:347:83: warning: 'NSURLSessionTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:286:12: note: 'NSURLSessionTask' has been marked as being introduced in macOS 10.9 here, but the deployment target is macOS 10.8.0
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:354:68: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:354:1: note: annotate 'setTaskWillPerformHTTPRedirectionBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:354:91: warning: 'NSURLSessionTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:361:56: warning: 'NSURLSessionAuthChallengeDisposition' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:361:1: note: annotate 'setTaskDidReceiveAuthenticationChallengeBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:361:97: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:361:120: warning: 'NSURLSessionTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:368:47: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:368:1: note: annotate 'setTaskDidSendBodyDataBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:368:70: warning: 'NSURLSessionTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:375:43: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:375:1: note: annotate 'setTaskDidCompleteBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:375:66: warning: 'NSURLSessionTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:386:45: warning: 'NSURLSessionResponseDisposition' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:821:28: note: 'NSURLSessionResponseDisposition' has been marked as being introduced in macOS 10.9 here, but the deployment target is macOS 10.8.0
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:386:1: note: annotate 'setDataTaskDidReceiveResponseBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:386:81: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:386:104: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:393:57: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:393:1: note: annotate 'setDataTaskDidBecomeDownloadTaskBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:393:80: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:393:112: warning: 'NSURLSessionDownloadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:400:50: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:400:1: note: annotate 'setDataTaskDidReceiveDataBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:400:73: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:407:70: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:407:1: note: annotate 'setDataTaskWillCacheResponseBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:407:93: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:414:66: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:414:1: note: annotate 'setDidFinishEventsForBackgroundURLSessionBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:425:63: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:425:1: note: annotate 'setDownloadTaskDidFinishDownloadingBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:425:86: warning: 'NSURLSessionDownloadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:432:52: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:432:1: note: annotate 'setDownloadTaskDidWriteDataBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:432:75: warning: 'NSURLSessionDownloadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:439:49: warning: 'NSURLSession' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:439:1: note: annotate 'setDownloadTaskDidResumeBlock:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFURLSessionManager.h:439:72: warning: 'NSURLSessionDownloadTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:132:34: warning: 'NSURLSessionConfiguration' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:131:1: note: annotate 'initWithBaseURL:sessionConfiguration:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:148:4: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:148:1: note: annotate 'GET:parameters:success:failure:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:150:41: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:151:41: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:163:4: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:163:1: note: annotate 'HEAD:parameters:success:failure:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:165:42: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:166:42: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:178:4: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:178:1: note: annotate 'POST:parameters:success:failure:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:180:42: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:181:42: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:194:4: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:194:1: note: annotate 'POST:parameters:constructingBodyWithBlock:success:failure:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:197:42: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:198:42: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:210:4: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:210:1: note: annotate 'PUT:parameters:success:failure:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:212:41: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:213:41: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:225:4: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:225:1: note: annotate 'PATCH:parameters:success:failure:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:227:43: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:228:43: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:240:4: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:240:1: note: annotate 'DELETE:parameters:success:failure:' with an availability attribute to silence this warning
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:242:44: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - WARN  | [AFNetworking-Synchronous/2.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPSessionManager.h:243:44: warning: 'NSURLSessionDataTask' is only available on macOS 10.9 or newer [-Wunguarded-availability]
    - NOTE  | [OSX] [AFNetworking-Synchronous/2.x] xcodebuild:  warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.8, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'AFNetworking-Synchronous' from project 'Pods')
    - NOTE  | [OSX] [AFNetworking-Synchronous/2.x] xcodebuild:  warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.8, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'AFNetworking' from project 'Pods')
    - WARN  | [AFNetworking-Synchronous/1.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPClient.h:84:9: warning: SystemConfiguration framework not found in project, or not included in precompiled header. Network reachability functionality will not be available. [-W#pragma-messages]
    - WARN  | [AFNetworking-Synchronous/1.x] xcodebuild:  AFNetworking/AFNetworking/AFHTTPClient.h:89:9: warning: MobileCoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available. [-W#pragma-messages]
    - NOTE  | [OSX] [AFNetworking-Synchronous/1.x] xcodebuild:  warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.7, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'App' from project 'App')
    - NOTE  | [OSX] [AFNetworking-Synchronous/1.x] xcodebuild:  warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.7, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'AFNetworking' from project 'Pods')
    - NOTE  | [OSX] [AFNetworking-Synchronous/1.x] xcodebuild:  warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.7, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'Pods-App' from project 'Pods')
    - NOTE  | [OSX] [AFNetworking-Synchronous/1.x] xcodebuild:  warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.7, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'AFNetworking-Synchronous' from project 'Pods')

I'm not using this library nor Cocoapods much these days so if anyone else is able to investigate and fix this I'd be happy to publish the fix. Until then 1.2.0 is tagged.

@moyitpro Any chance this is something you wouldn't mind looking into? Definitely no pressure!

Cannot put NSError in syncPOST

I have used the syncPOST to get the json with using swift. However, synPost need the NSErrorPointer not NSError.

Here is the Code:

var error = NSErrorPointer()
var error_mes:NSError // failed
let josn: AnyObject! = manager.syncPOST(getCol_link, parameters: nil, operation: nil, error: error)

Error:
Cannot invoke 'syncPOST' with an argument list of type '(String, parameters: nil, operation: nil, error: NSError)'

Shouldn't AFHTTPRequestOperation return some data?

I was very pleased to find Your category for AFNetworking, I was in need for handling a specific synchronous case in my otherwise async app.
But to my surprise, although I didn't get any errors, I never seemed to get any data back...

And after spending sometime in the debugger, I noticed that the implementation of the AFHTTPRequestOperation (ResponseObject) ALWAYS returned nil.
Replacing that with a simple "return [self responseData]" solved the problem for me.

Unfortunate, I'm not a experienced Git contributor, so I have no idea how to contribute to the code, so this will be my contribution... :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.