0
votes

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

2
I doubt cocoapods supports Xcode 6 yet; why would it? - trojanfoe
But some places people suggested that it support please follow the link iosnow.net/?p=36 - sandy
That says "Yosemite", which is not 10.9.3. - trojanfoe
yes,and people also saying xcode 6 is working in 10.9.3 , I also tested test app on xcode 6. But my app having cocoapods not working only, others are working fine... - sandy
Perhaps if you posted the error messages you would get some help. Also tag your questions correctly. - trojanfoe

2 Answers

0
votes

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.

0
votes

This is the problem with the SDWebImage.

Just replace _executing with self.executing.

And clean your code and build it again.

Thanks Sarabjit Singh