[英]Class SSKeychain is implemented in both framwork and appilcation iOS
My podfile: 我的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
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). objc [3645]:类SSKeychain在/System/Library/PrivateFrameworks/StoreServices.framework/StoreServices(0x1b27d32b0)和/var/containers/Bundle/Application/9A955CA3-9741-4867-9307-0870BBD6CF08/xxx.app/中实现。 xxx(0x10112eab8)。 One of the two will be used.
将使用两者之一。 Which one is undefined.
哪一个未定义。
In iOS 10 there is a private class called SSKeychain. 在iOS 10中有一个名为SSKeychain的私有类。 That's why you are getting this error.
这就是你得到这个错误的原因。 Because of this the
SSKeychain
has been renamed to SAMKeychain
. 因此,
SSKeychain
已重命名为SAMKeychain
。
Since you haven't implicitly added SSKeychain
in your Podfile
, I suppose it's a dependency of one of other Pods you use. 由于您没有在
SSKeychain
中隐式添加SSKeychain
,我认为它是您使用的其他Podfile
之一的依赖项。 You can find this out by looking into Podfile.lock
. 你可以通过查看
Podfile.lock
找到它。 Once you found the library which has this dependency check if its podspec has been already updated to use SAMKeychain
instead. 一旦找到具有此依赖关系的库,请检查其podspec是否已更新为使用
SAMKeychain
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.