Xcode 9 Beta 使用未声明的类型 'SKError'
Xcode 9 Beta Use of undeclared type 'SKError'
我刚刚尝试在 Xcode 9 beta 中构建我的项目,但我收到一条错误消息:
Use of undeclared type SKError
此错误出现在名为 SwiftyStoreKit.
的 CocoaPod 中
我尝试清理项目但没有成功。
关于如何解决这个问题有什么想法吗?我没有听说 Xcode 9、iOS 11 或 Swift 4 中 SKError
的任何变化。虽然我还没有将我的项目转换为 Swift 4呢。我错过了什么吗?
这是 SwiftyStoreKit 框架中的一个 known issue。作为快速修复,尝试切换到 swift-4.0
分支:
pod 'SwiftyStoreKit', :git => 'https://github.com/bizz84/SwiftyStoreKit', :branch => 'swift-4.0'
使用上面的行编辑您的 Podfile
,然后再次 运行 pod install
。
顺便说一句,根据上述问题,这看起来像是苹果方面的一个错误;(
我刚刚尝试在 Xcode 9 beta 中构建我的项目,但我收到一条错误消息:
Use of undeclared type
SKError
此错误出现在名为 SwiftyStoreKit.
的 CocoaPod 中我尝试清理项目但没有成功。
关于如何解决这个问题有什么想法吗?我没有听说 Xcode 9、iOS 11 或 Swift 4 中 SKError
的任何变化。虽然我还没有将我的项目转换为 Swift 4呢。我错过了什么吗?
这是 SwiftyStoreKit 框架中的一个 known issue。作为快速修复,尝试切换到 swift-4.0
分支:
pod 'SwiftyStoreKit', :git => 'https://github.com/bizz84/SwiftyStoreKit', :branch => 'swift-4.0'
使用上面的行编辑您的 Podfile
,然后再次 运行 pod install
。
顺便说一句,根据上述问题,这看起来像是苹果方面的一个错误;(