Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Conversation

khallmark
Copy link

Fixed retain attribute must be of object type error in NSURLSessionManager.h when including AFNetworking as a podspec s.dependency.

Related to #3241

…ssionManager.h when including AFNetworking as a podspec s.dependency
@khallmark khallmark changed the title #3241: Fixed retain attribute must be of object type error in 3.0.4 Fixed retain attribute must be of object type error in 3.0.4 Dec 22, 2015
@kcharwood
Copy link
Contributor

This was removed in #3177.

What version of Xcode are you using to compile AFNetworking, what version of iOS are you targeting, and can you post your podspec?

cc @0xced

@0xced
Copy link
Contributor

0xced commented Jan 17, 2016

What is your deployment target? AFNetworking 3 supports iOS 7 and later for which OS_OBJECT_USE_OBJC is always defined to 1.

@kcharwood
Copy link
Contributor

I'm going to close this since I believe this was created in error. Please feel free to add additional information if you would like.

🍻

@kcharwood kcharwood closed this Feb 15, 2016
@masterkain
Copy link

I am experiencing this issue, Xcode 12, AFNetworking 4.0.1, macOS app.
anything I can check?

source 'https://github.com/CocoaPods/Specs.git'

workspace 'AudioBox Sync'
use_frameworks!
platform :osx, '10.15'

target 'AudioBox Sync' do
  pod 'AudioBox', path: '../sdk'
  pod 'SocketRocket'
  pod 'FXKeychain'
  pod 'FileMD5Hash', git: 'https://github.com/JoeKun/FileMD5Hash.git'
  pod 'RegexKitLite'
  pod 'MASPreferences'
  pod 'INAppStoreWindow'
  pod 'MRSubtleButton'
  pod 'Criollo', '~> 1.0.1'

  target 'AudioBox Sync Logic Tests' do
    inherit! :search_paths
    pod 'OCMock'
  end
end

Screenshot 2020-10-14 at 04 12 02

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants