我的播客文件:

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

swift - 类 SSKeychain 在框架和应用程序 iOS 中实现-LMLPHP

我在控制台中有此错误消息:

objc[3645]:SSKeychain 类在/System/Library/PrivateFrameworks/StoreServices.framework/StoreServices (0x1b27d32b0) 和/var/containers/Bundle/Application/9A955CA3-9741-4867-9307-08080/BBD. xxx (0x10112eab8)。将使用两者之一。哪个是不确定的。

最佳答案

在 iOS 10 中有一个名为 SSKeychain 的私有(private)类。这就是您收到此错误的原因。因此 SSKeychain has been renamedSAMKeychain

由于您没有在 SSKeychain 中隐式添加 Podfile ,我想它是您使用的其他 Pod 之一的依赖项。您可以通过查看 Podfile.lock 找到这一点。找到具有此依赖项的库后,请检查其 podspec 是否已更新为使用 SAMKeychain

关于swift - 类 SSKeychain 在框架和应用程序 iOS 中实现,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/39942184/

10-11 14:42