Class SSKeychain is implemented in both framwork and appilcation iOS

4.2k views Asked by At

My podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'

target 'xxx' do
  pod 'GooglePlaces'
  pod 'RSKImageCropper'
  pod 'AFNetworking', '~> 3.0'
  pod 'DZNEmptyDataSet'
  pod 'Base64', '~> 1.1.2'
  pod 'BGTableViewRowActionWithImage'
  pod 'Google/CloudMessaging'
  pod 'Google/Analytics'
  pod 'TYMProgressBarView'
  pod 'Fabric'
  pod 'Crashlytics'
  pod 'NestSDK'
end

enter image description here

I have this error message in console :

objc[3645]: Class SSKeychain is implemented in both /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices (0x1b27d32b0) and /var/containers/Bundle/Application/9A955CA3-9741-4867-9307-0870BBD6CF08/xxx.app/xxx (0x10112eab8). One of the two will be used. Which one is undefined.

1

There are 1 answers

0
yas375 On

In iOS 10 there is a private class called SSKeychain. That's why you are getting this error. Because of this the SSKeychain has been renamed to SAMKeychain.

Since you haven't implicitly added SSKeychain in your Podfile, I suppose it's a dependency of one of other Pods you use. You can find this out by looking into Podfile.lock. Once you found the library which has this dependency check if its podspec has been already updated to use SAMKeychain instead.