sandy
sandy

Reputation: 1948

How cocoapods works with xcode 6 on OSX 10.9.3?

please help me on this. I've updated my xcode to xcode6 and now I'm not able to run my application on it due to cocoapods errors. I searched around the web also follow the below steps :

  1. Open Xcode 6
  2. Open Preferences (Menú Xcode-Preferences)
  3. Click the Locations tab
  4. Change the Command Line Tools version to Xcode 6.0
  5. Uninstall from a terminal window cocoapods (all installed versions prompted) $ sudo gem uninstall cocoapods
  6. Uninstall xcodeproj (all installed versions prompted) $ sudo gem uninstall xcodeproj
  7. Install xcodeproj $ sudo gem install xcodeproj
  8. Install cocoapods (retry a second time if fails with a error) $ sudo gem install cocoapods
  9. Run pod –version to verify that it worked

But Still I'm getting error on pods. My application is running well in xcode 5.1.1 but not in xcode 6. I'm getting error on "SDWebImageDownloaderOperation.m" file and the error is semantic issue.

One more thing when I'm doing pod update in my project folder where the podfile installed, Removing SSToolkit shown and SSToolkit folder removed from project folder. But in xcode 5.1.1 SSToolkit is there. please someone help me to rid of this issue.... thanx

Upvotes: 0

Views: 753

Answers (2)

Sarabjit Singh
Sarabjit Singh

Reputation: 1824

This is the problem with the SDWebImage.

Just replace _executing with self.executing.

And clean your code and build it again.

Thanks Sarabjit Singh

Upvotes: 0

Anya Shenanigans
Anya Shenanigans

Reputation: 94829

Your problem is with SDWebImage, not with cocoapods. because of the presence of the getter attribute on the executing and finished properties, the newer version of XCode is not auto-synthesizing the variables.

There should be a compatible version RSN, but to work around it for the time being, you should change your podfile for the package to add the version:

pod 'SDWebImage', :head

Once it gets released you can remove the reference to :head

Note this is a real 'short time window' question - This package will probably start working again in a few days without intervention from anyone barring a pod update.

Upvotes: 0

Related Questions